Gridview1 rowupdating old values
Here's my code : protected sub Grid View1_Row Updating(By Val sender as object, By Val e as System. In the row updating event, I need to work with both the old values and the new values which were edited and updated.Can anyone tell me how this could be done in c#.kartheek void Grid View1_Row Updating(object sender, Grid View Update Event Args e) Don't forget to click "Mark as Answer" on the post that helped you.lnk=st&q=Gridview editing without Object Data Source&rnum=7#b712f23981099d17 In summary: due to rebinding on the wrong moment I lost my changes.
In my Grid View I do not use a Data Source Object and can therefore not use e. Old Values The columns used are template columns Thx Below some codesnippets I use: protected void Page_Load(object sender, Event Args e) protected void grv Categorie_Updating Command(object sender, Grid View Update Event Args e) Nevermind, see below for the problem.
Hi, I build a user control that has some textboxes, I checked it on a regular page and it work great.
Now I'm trying to integrate it in a Wizard, When a user submit the page and the user control try to get the values from a text box it gets the old values.
When I put a bearkpoint in the user control (right before trying to get the value from Tbx Publish Date. I instantiated a few controls to see their behavior and they are all the same. I guess I expected the original, untainted, value to be returned. Keys("Nama_PT") & "'" sqldatasource1.update() end sub After...
(The value of Net:: LDAP:: Control-value() is untouched but I suspect that is because it is a simplified stub for subclasses.) Thanks, -David Faltermier [email protected]#--------------------------------------- # Testing Net:: LDAP:..to find new values in gridview on rowupdating event (e.newvalues.count=0) how to find new values in gridview on rowupdating event protected void Grid View1_Row Updating(object sender, Grid View Update Event Args e) Thanks and Regards Somnath Please click “Mark as Answer” on the post if it helps you, Hi,if getting the value in boundfields within a specific cells then you can have it this waystring val = Grid View1. Ro...gridview rowupdating problem (e.newvalues("fieldname") return oldvalues) Hi, I have problem in gridview rowupdating, e.newvalues("fieldname") return oldvalues. How to retrieve new values and Old values from a gridview Hi, I have a gridview, which I am binding programmatically.