Difference between datatable and datarow in ASP.NET
What is the difference between Datatable and DataRow in asp.net. When i use datatable and when datarow in application
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Anuja PawarPosted Jan 17, 2012, 4:45 AM
In ASP.Net, DataRow class provides the functionality to add a new row i.e. new record into the DataTable. DataRow object inherits the schema of ASP.Net DataTable and allows you to add the values for each DataColumn according to the specified DataType for a data column of DataTable. You can use the zero based index number of DataColumn or column name to pass the value for specific column in the new DataRow. Index of the DataColumn depends upon the order of adding a DataColumn to the DataTable.
Jignesh TrivediPosted Jan 16, 2012, 6:43 AM
Data Table is nothing but collection of Data Rows.
Data Table has multiple Data Row and Data row is single unit.
hope this help.
Datta KharadPosted Jan 16, 2012, 6:20 AM
Refer our recommended article..
http://www.c-sharpcorner.com/uploadfile/mahesh/datatable-datacolumn-and-datarow-classes/
VulpesPosted Jan 16, 2012, 6:10 AM