Hi All,
I have designed asp.net page which contains a gridview with templated columns.
I want to use this gridview to insert data into table.
so I want to insert a blank row in a gridview when I click on Add button of gridview, and delete with delete button.
How do i got this?
thanks in advance.
regards,
Bhavin
Loading
shekar30121972Posted Feb 23, 2009, 3:40 PM
You can do this with a datatable and a table adaptor. Create a Gridview and the add the ItemTemplate, EditItemTemplates, make the properties editable.
Then add code to the appropriate functions. Lookup in C# Corner you should be able the find sample code.