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
List all the steps in order, to access a database through ado.net?
What are the data access namespaces in .NET?
What is the use of sqldatareader class?
What is ado.net tutorial?
What is ole word?
Explain advantages of ado.net?
What is ado.net code?
What are the types of databinding?
Explain the difference between ado and ado.net?
What is ado.net and its features?
What is ado.net full form?
What is microsoft ado.net?
How can we save all data from dataset?
What is the difference between statement and preparedstatement interface?
What are two types of transaction supported by ado.net?