I have a Vb.net Web Portal that displays a grid with information and is editable.
I need to loop true all the rows and update the information on my DataBase.
I can' find a way to do it.
You can get all the grid rows from the code with WebDataGrid1.Rows.
You can loop from them and to update the database.
Also you have server events RowUpdated and RowUpdating and you can update your database there.
Here are same samples with editing. You can use batch editing also:
Thanks for the reply let me ask you do you know a way of triggering Rowupdating every time that I modify a Row this way can modify it one a the time every time that they make a change.
RowUpdating event is fired every time when you update a row/cell.
You can look at this sample:
Here is a link for the Editing behavior documentation: