Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I do ASP.NET normally, I'm doing a utility program that uses a DataGridView. The data (via a BoundDataSource) comes from an intra-department WebService. I've figured out that I can bind an event to the BoundDataSource_ListChanged event to detect when a cell has been updated and update data through that Web Service but the problem is that you often update several cells on the same row, so each time I move to a cell I'm calling an update method on the web service. It would be MUCH better to have a Row.BeginEdit() and Row.EndEdit() method, but there is no such thing. Hooking up to RowEnter and RowExit hasn't proved very useful.

 

I'm sure a lot of this has to deal with the fact that I'm using to ASP.NET where you update and entire row at a time (not a cell) so your trips to a data store are minimized, but the WinForms version doesn't seem to want to let you edit an entire row at once. This is very frustrating, what am I doing wrong?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...