Adding Row in a datagrid

jenumeona

New Member
Hello,<BR> I have just started learning asp.net.It's relatively simple question.How to add a new blank row and contents in a datagrid after a dataset values are assigned to it?I have done it before by simply adding a new, blank row to the database table. On the cancel or save, if they haven't entered the key piece of data that you need, just delete the row again. I'm sure there is another (simpler) way.You can also do this by using a datatable then after you populate the grid with your data from your table add a blank row.<BR><BR>Take a look at this article from the always cool 4guysfromrolla.com :)<BR><BR>http://www.4guysfromrolla.com/webtech/chapters/ASPNET/ch06.6.shtmlThanks a lot.I think adding a row to a DataTable is the simplest way to add a blank row.Thank You.Got a simple Soluton from Jay Nathan.
 
Back
Top