Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
9166 | Dec 9,2003 10:33 AM UTC | Dec 10,2003 07:40 AM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
private void button1_Click(object sender, System.EventArgs e) { GridCurrentCell cc = grid.CurrentCell; GridBoundRecordState rs = grid.Binder.GetRecordStateAtRowIndex(cc.RowIndex); DataRowView drv = rs.Table[rs.Position] as DataRowView; Console.WriteLine(drv[0].ToString() + " -- " + drv[1].ToString()); }
int field = this.grid.Binder.ColIndexToField(cc.ColIndex);
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.