Gridview rowupdating not giving new values

event is raised when a button is clicked in the Grid View control.

This enables you to provide an event-handling method that performs a custom routine whenever this event occurs.

Unless they are Key fields, there isn't really a way to get to these. Data Bind in Row Updating (or at least before the Update is actualy processed) is better not done.

Hi there, I have the same problem and I checked the e.

Next event is the Grid View Row Editing event to give ASP.

There is no need to get them by using Find Control on the Grid View Row. Please remember to click “Mark as Answer” on the post that helps you.After searching long and hard I found a great article that solved my issue.Take a look at the page load if you are binding on post back then the values get updated before you are able to access them.New Values,this is equal to Nothing, I Bind it to List object.I've tried not to bind the grid in Row Updating event,but then the editing row does not close and the row is not being updated.

Search for gridview rowupdating not giving new values:

gridview rowupdating not giving new values-59gridview rowupdating not giving new values-37gridview rowupdating not giving new values-84

Please keep in mind that there are many different ways to update the database using the Grid View control depending on the type of data you are updating and the functionality the user need and there are many solutions to achieve the same end result.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “gridview rowupdating not giving new values”