PDA

View Full Version : More datagrid help (C#)


PackerFanatic
01-13-2006, 10:05 AM
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?

Celeval
01-13-2006, 10:23 AM
Bomb out with an exception? Lock up?

PackerFanatic
01-13-2006, 10:28 AM
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.