I suddenly return to WinForms, after several years of web development, and I am having problems with something that should be simple. I have ArrayListbusiness objects related to Windows Forms DataGrid. I want the user to be able to edit cells, and when finished, click the "Save" button. At this point, I would like to repeat all the rows and columns in DataGridto find any changes and save them to the database. But I can not find a way to access the strings DataGrid.
I also want to check individual cells in real time as they are being edited, but I'm sure it can be done. (Maybe not with ArrayListhow DataSource?) But as for the iteration DataGrid, I am completely surprised that this is not possible.
Do I really need to populate business object data in datatables in order to use a datagrid?
source
share