Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
11860 | Mar 17,2004 10:34 AM UTC | Mar 17,2004 11:16 AM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
//for a given rowIndex
int position = this.Binder.RowIndexToPosition(rowIndex);
CurrencyManager cm = (CurrencyManager) this.BindingContext[this.grid.DataSource, this.grid.DisplayMember];
DataView dv = (DataView) cm.List;
DataRowView drv = dv[position];
//now you can access the fields with code like
object colNameValue = drv["colName"];
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.