BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
string name; int rowIndex = this.gridDataBoundGrid1.CurrentCell.RowIndex; int colIndex = this.gridDataBoundGrid1.CurrentCell.ColIndex; GridBoundRecordState rs = gridDataBoundGrid1.Binder.GetRecordStateAtRowIndex(rowIndex); GridHierarchyLevel ghl = gridDataBoundGrid1.Binder.GetHierarchyLevel(rs.LevelIndex) as GridHierarchyLevel; int field = this.gridDataBoundGrid1.Binder.ColIndexToField(colIndex); if(ghl.RowCountPerRecord == 1) { name = ghl.GridBoundColumns[field].MappingName; } else { field = ghl.RowFieldToField(rs.RowIndexInRecord, field); name = ghl.GridBoundColumns[field].MappingName; } Console.WriteLine(name);