![]() |
![]() |
#1 | ||
Pro Starter
Join Date: Jul 2005
Location: Appleton, WI
|
More datagrid help (C#)
Alright, I am still working on the same stupid datagrid stuff here at work and I have run into another snag. When information in my grid is updated and/or added and then committed, I run the DataAdapter's Update method on any of the changes (which in turn runs any INSERT, DELETE, and/or UPDATE statements that need to be based on any changes in the dataset) For some reason, any time I have more than two rows that need to be updated (or deleted or inserted) the program will freeze at the Update line. If I modify or add just one row, it will update just fine. But anytime I try a second, it will bomb out. Any suggestions?
__________________
Commissioner of the RNFL |
||
![]() |
![]() |
![]() |
#2 |
Pro Starter
Join Date: Nov 2000
Location: Cary, NC, USA
|
Bomb out with an exception? Lock up?
|
![]() |
![]() |
![]() |
#3 |
Pro Starter
Join Date: Jul 2005
Location: Appleton, WI
|
Ah yeah, I suppose more explanation would have been nice, heh. Exception would be nice, but no, it just plain freezes.
I have done a few more tests and I have gone through and edited one row, that works...then two rows, that works, then three rows, that works. I have added one row each time and gone up to 10 and that will all be fine. So then I edit all the rows (around 20) and that freezes. I will keep chugging.
__________________
Commissioner of the RNFL |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|