Rowupdating event in gridview in asp net c

6854933580_2c8b688306_z

Quick google search guided me to move the event to Row_Created event and every thing is okay . Thanks a tonne in Advance and any inputs will be valued and appreciated . I do notice that if I break within the Grid View1_Row Data Bound event during a refresh of the page, the values are there.

I have a relatively simple gridview bound to an product table that displays great. When I do so, the gridviews' Row Data Bound event fires and the values of the text properties of the tablecells in the row evaluate to "" emptystring.

Text; returns the the value of the "decription" which existed prior to typing in the new value. Thus every time I would click on Update, the data would get bound to the grid again after fetching the same data from the data base. I have a webpage that has a grid that allows select as well as edit. When I attempt to get to values in the rowupdating event I get the old values (which makes sense from your post). My question is that when I add the binding code inside If Not Page.

-Frinny method in the page Pre Render event instead." Select Command="SELECT a.tenantcode, a.name, a.fixedrate, a.percentrate, a.percentage, b.locationd, c.status FROM TENANTNEW AS a INNER JOIN LOCATION AS b ON a. before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value).The visitors to a web site can typically be divided into two groups: the users and the administrators.In data driven web sites, users are normally allowed to view data and administrators are allowed to add, edit or delete data.How can I obtain the new value in string description?

You must have an account to comment. Please register or login here!