Answer Posted / radhat
This works, but it only provides one empty row.
It doesn't give you 100 empty rows as your code suggests.
To fix this I added:
dr = tbl.Rows.Add();
right underneath the .NewRow(); line
Hope this helps anyone looking for an empty table.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is dataset object? Explain the various objects in dataset.
What is csdl entity framework?
What we do with the object of ado.net dataset after using it?
How to store data in memory?
Which is better entity framework or ado.net?
What is the difference between ADO and ADO.Net?
What is ado net stands for?
how we can fire event in databound coulm in datagfrid withot using button?
How can we save all data from dataset?
What is ado.net and its features?
Explain the two fundamental objects in ado.net?
Which parameter of ConnectionString is used to specify the name of the database?
Define Execute Scalar?
Define partial class?
What is the default timeout specified for "sqlcommand.commandtimeout" property?