Answer Posted / dinesh sharma
DataTable tbl=new DataTable;
DataColumn ID=new
Datacolumn("ID",System.Type.GetType("System.Int"));
DataColumn Name=new
DataColumn("NAME",System.Type.GetType("System.String"));
tbl.Columns.add("ID");
tbl.Columns.Add("NAME");
Datarow dr =null;;
for (int i=0;i<100;i++)
{
dr=tbl.NewRow();
}
datagridview1.datasource=tbl;
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
If a table contains 20000 records. In a page at each time 100 records to be displayed.
What is sql connection in ado.net?
Why do we use sqldataadapter?
What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?
What are three methods for displaying data in a syncfusion datagrid
What is ole word?
What is data relation?
What are the methods of XML dataset object?
How is entity framework different from ado.net?
What Is Difference Between Ado And Ado.net?
What is the difference between ado.net and entity framework?
What is ado.net objects?
What is ado.net explain with diagram?
What are the essential features of ado.net?
What is ado.net architecture?