store datagrid data in a database
C#
2
Posts
2
Posters
0
Views
1
Watching
-
There is a data grid and I have entered data into datagrid.So I want to store these in a database table .How can I do it. :( This is very Argent
-
There is a data grid and I have entered data into datagrid.So I want to store these in a database table .How can I do it. :( This is very Argent
you have to add code on click of save button in this code ypou will traverse all the rows one by one and will save data of each row one by one. or you can first take data to save in a string for each row data will be comma seperated and rows will be semicolon seperated and at the time of saving you can get sepearate them and then save one row each time.