Hi,
I have a datagrid view that I have manually bound with a dataset. It
has a column displayed as checkboxes, what I want to do is update the
database when a checkbox is checked.
To do this I need to find a value at cloumn index = 0 that corresponds
to the row in which the checkbox has just been checked.
Here is what I have:
private void dgErrorLog_CurrentCellDirtyStateChanged(object sender,
EventArgs e)
{
int row = dg.CurrentCell.RowIndex;
int col = 0;
string loc = // Text in cell (0, row);
}
So when the checkbox value changes, i find the row index of it. The
problem is now that i don't know how to set the text in cell (0, row)
to a useable string.
Any ideas?
Thanks.