Answer the question
In order to leave comments, you need to log in
devexpress controls. How to save selected cells from aspgridview to sql server db?
Hello, I'm switching from regular controls to devexpress.
I used to use a regular grid, now I need aspgridview.
Called the SelectedIndexChanged event and did in it:
GridViewRow row = postavchik_GridView.SelectedRow;
string post_1 = row.Cells[6].Text;
And saved the selected value into a variable. For a long time, save one by one.
It should be so that I selected the necessary lines with checkboxes, and the first cell was taken from them, the id from the database is stored there and saved to another table.
I asked on the technical support page, but they don’t answer me because the license has expired.
I found a similar event in this grid. But I can't figure out the syntax.
I understand that this is how it is done.
These controls work with js. js intercepts the value from the grid, pushes all the values to the sheet. The sheet is transferred to the server and calls the server js in which c #, it takes the first element from the sheet and saves it to the database, then the second and so on.
Am I understanding correctly or not?
Answer the question
In order to leave comments, you need to log in
www.dotnetawesome.com/2013/09/checkbox-inside-grid... this helped
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question