Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
17358 | Aug 6,2004 01:09 PM UTC | Aug 9,2004 12:48 PM UTC | WinForms | 5 |
![]() |
Tags: GridControl |
int nRowPos = _DataGrid.CurrentCell.RowIndex;
int pos = _DataGrid.Binder.RowIndexToPosition(nRowPos);
CurrencyManager cm = (CurrencyManager) _DataGrid.BindingContext[_DataGrid.DataSource, _DataGrid.DataMember];
DataRowView drv = (DataRowView)cm.List[pos];
MessageBox.Show(string.Format("{0} {1}", drv["1"], drv["2"]));
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.