B
Bob
I have a datagrid on a web form that is bound to a
SQLServer stored procedure.
I used the Item Template to add a checkbox column to my
grid.
So far so good..
Now I'm in the code behind, looping through the rows and I
can't seem to figure out C# .NET to write the statement to
chec to see if the checkbox is checked or not!
Can anyone advise???
My checkbos is in column 3. I'm able to write this code
to get the text but can't figure out how to determine if
the box is checked or not.
Debug.WriteLine(DataGrid1.Items.Cells[3].Text);
Thanks
Bob
SQLServer stored procedure.
I used the Item Template to add a checkbox column to my
grid.
So far so good..
Now I'm in the code behind, looping through the rows and I
can't seem to figure out C# .NET to write the statement to
chec to see if the checkbox is checked or not!
Can anyone advise???
My checkbos is in column 3. I'm able to write this code
to get the text but can't figure out how to determine if
the box is checked or not.
Debug.WriteLine(DataGrid1.Items.Cells[3].Text);
Thanks
Bob