Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
20450 | Oct 19,2004 10:46 AM UTC | Oct 20,2004 07:32 AM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid2_Enter(object sender, EventArgs e) { CurrencyManager cm = (CurrencyManager) this.BindingContext[this.gridDataBoundGrid2.DataSource, this.gridDataBoundGrid2.DataMember]; if(cm.Count == 1) { this.gridDataBoundGrid2.BeginUpdate(); cm.AddNew(); cm.RemoveAt(1); this.gridDataBoundGrid2.EndUpdate(); } }
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.