BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
//get the datacolumn for the 3rd col in grid
string dataTableColumnName = this.gridDataBoundGrid1.GridBoundColumns[2].MappingName;
DataColumn dc = this.dataTable1.Columns[dataTableColumnName];
> //get the datacolumn for the 3rd col in grid
> string dataTableColumnName = this.gridDataBoundGrid1.GridBoundColumns[2].MappingName;
> DataColumn dc = this.dataTable1.Columns[dataTableColumnName];
//the value from the 5 item in the 3rd column.
int item = 5;
CurrencyManager cm = (CurrencyManager)this.BindingContext[this.gridDataBoundGrid1.DataSource, this.gridDataBoundGrid1.DataMember];
object o = cm.List[item];
PropertyDescriptor pd = this.gridDataBoundGrid1.Binder.InternalColumns[2].PropertyDescriptor;
object val = pd.GetValue(o);
Console.WriteLine(val);