Free affairs chat rooms - Rowupdating get


rowupdating get-14

You have to make sure that you aren't setting your Grid View's data when it is not postback.

If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.

When I hit Update, the changes are not saved, and there is no error message. When I hit Update, the changes are not saved, and there is no error message. Then the page posts back, the text boxes go back to being labels and the new values are lost, and the Row Updating code never fires. Yes, I did put the breakpoint at the Row Updating line (and not in the function).

I put a breakpoint on the Row Updating event handler and found that the event is not fired. I put a breakpoint on the Row Updating event handler and found that the event is not fired. In the Row Editing function, the edit textboxes appear and I can get the "old" values Then the page renders, I edit the textboxes and hit Update.

Hi, I'm using the Row Updating() event of an updatable Grid View. For an example, if you wanted to see the values on Updating, you could place a List Box control on your page and fill it with this method: protected void gv_Row Updating(object sender, Grid View Update Event Args e) HTH. Longnecker I'm using the Row Updating() event of an updatable Grid View.