AD
Administrator
Syncfusion Team
February 28, 2007 08:57 PM UTC
Hi Prumery,
You can get the ColIndex from column name by using Binder.NameToColIndex method. Please try the code snippet
Dim cc As GridCurrentCell = dgEng.CurrentCell
Dim cm As CurrencyManager = CType Me.BindingContext(Me.dgEng.DataSource, Me.dgEng.DataMember), CurrencyManager)
Dim dr As DataRow = CType(cm.Current, DataRowView).Row
Dim ColIndex As Integer = dgEng.Binder.NameToColIndex("PlatMap")
dgEng(cc.RowIndex, ColIndex).Text
Best regards,
Haneef