Link to home
Create AccountLog in
Avatar of thomasbonham
thomasbonhamFlag for United States of America

asked on

C# with DataGrids

What I have has a C# GUI App using a data grid to connect to a access database. I have add the check box to the datagrid and now what I'm trying to do is when the click submit I can loop through data grid and get the values that are check. The problems that I'm having is I can't figure out how to get just thoses values little lowe how to loop through the data grid.

Thank you for your help.

Avatar of dave4dl

loop through like:

foreach(DataGridItem objRecord in MyDataGrid.Items){
Avatar of surajguptha
Flag of United States of America image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account