Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
13784 | May 11,2004 01:10 AM UTC | Dec 2,2004 10:15 AM UTC | WinForms | 5 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid1_RowsDeleting(object sender, GridRowRangeEventArgs e) { if(MessageBox.Show("Delete? ", "", MessageBoxButtons.YesNo) == DialogResult.No) e.Cancel = true; }
>private void gridDataBoundGrid1_RowsDeleting(object sender, GridRowRangeEventArgs e) >{ > if(MessageBox.Show("Delete? ", "", MessageBoxButtons.YesNo) == DialogResult.No) > e.Cancel = true; >} >
int position = this.grid.Binder.RowIndexToPosition(gridRowIndex);
to map a grid row index to a position in teh datasource.
>int position = this.grid.Binder.RowIndexToPosition(gridRowIndex);
>
>to map a grid row index to a position in teh datasource. 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.