Last post Feb 14, 2019 09:32 PM by jzero
Feb 14, 2019 07:01 PM|TejasviRebba|LINK
I am planning to insert new row for existing grid view contains 100 rows.
Do I need to transfer all rows to datatable and add new row to datatable and
Is there any other process adding 1 record to grid view
Feb 14, 2019 09:32 PM|jzero|LINK
Gridview is just a control to show data as grid and reflect all data bound to it, can be a datatable, a Linq query result, a list, whatever.
I think you want add a new record to Datatable, you have to send data back, and recreate your Datatable with new data then bind gridview again.
Can not say too much, because your datatable could be made by your code, could be from SQL Query, or any other source.