For rowupdating in


01-Dec-2016 04:00

HTML CODE: C# Code Behind: private void Bind Data() protected void gv Categories_Row Editing(object sender, Grid View Edit Event Args e) protected void gv Categories_Row Updating(object sender, Grid View Update Event Args e) Hello Azam, Thanks for the prompt reply. Find Control("txt Category Description") as Text Box). Regards, Amol I am attempting to get the rowupdate event working with a gridview.

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.

for rowupdating in-74

Free cam aunty chat

A Grid View Updated Event Args object is passed to the event-handling method, which enables you to determine the number of rows affected and any exceptions that might have occurred.

Every one can use it to compare the new value with old ones.

After searching long and hard I found a great article that solved my issue.

You're accessing so many items without null checks that it could be any number of things. Are you sure all of the controls exist in the cells you're specifying?

for rowupdating in-75

Truly free sex dating

event is raised when a row's Update button is clicked, but after the Grid View control updates the row.

Row Updating Dim conn String As String = Configuration Manager. Connection String Dim e Date, e Status As String Dim str Table Name As String = LBSubject Code.