We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

No subject

I'm trying to delete and insert rows into the grids underlying datatable. When the item is at the top of the GDBG, the operation is quick, but when the item is at the bottom of the GDBG it is very slow (about 10,000 items in the grid). The slowdown only occurs when the DataTable is bound to the grid, so I'm thinking this has something to do with the binding? DataRow delRow = _dsItems.Tables[0].Rows.Find(updateID); _dsItems.Tables[0].Rows.Remove(delRow); DataRow newRow = PostHelper.GetItem(_category,_itemDefinition,updateID); _dsItems.Tables[0].ImportRow(newRow);

2 Replies

SA scot adams September 12, 2003 12:46 PM

sorry to everyone about the no subject messages. i keep typing the subject in the attach file field. i need a vacation!


SA scot adams September 12, 2003 02:32 PM

figured it out. i had an event handler attached to the listchanged event on the table. thanks anyway.

Loader.
Live Chat Icon For mobile
Up arrow icon