Hello,
I'm trying to read cell info from a datagrid. I tried linking through the datagrid to the table that its bound to such as:
MessageBox.Show(myDataTable.Rows[myDataGrid.CurrentRowIndex]["ColumnName"].ToString());
that works... until you resort the columns, then the datatable doesn't match anymore.
Any ideas?
Thanks
Jeff Foster
I'm trying to read cell info from a datagrid. I tried linking through the datagrid to the table that its bound to such as:
MessageBox.Show(myDataTable.Rows[myDataGrid.CurrentRowIndex]["ColumnName"].ToString());
that works... until you resort the columns, then the datatable doesn't match anymore.
Any ideas?
Thanks
Jeff Foster