Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
2994 | Feb 25,2003 12:43 AM UTC | Feb 25,2003 12:46 PM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
private void button1_Click(object sender, System.EventArgs e) { int row = this.gridDataBoundGrid1.Binder.PositionToRowIndex(this.gridDataBoundGrid1.Binder.CurrentPosition);; if(row == this.gridDataBoundGrid1.Model.RowCount && row > 0) { this.gridDataBoundGrid1.CurrentCell.MoveUp(1, false); } this.gridDataBoundGrid1.DeleteRecordsAtRowIndex(row,row); }
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.