Gridview rowupdating event in c net

I hope the above information was a little bit helpful for you, kindly let me know your valuable feedback or thoughts.

In my previous article, I described how to use a Grid View control to display data using a Sql Data Source control.When I click on the EDIT button, it will redisplay my grid View with textboxes so I may make some changes. Text Dim str Close Time As String = Direct Cast(gv Business Hours. Let's say one row is currently: OPEN_TIME = 1 CLOSE_TIME = 2 When I click EDIT, 1 and 2 are in a textbox. Grid View Update Event Args) Handles gv Business Hours. Text Dim str Close Time As String = Direct Cast(gv Business Hours. Any idea why i am getting the old values and not the new imput values ? Private Sub gv Business Hours_Row Updating(sender As Object, e As System. The issue here is that I have to send the new values to a stored procedure and then I will rebind my grid... The values I am getting via the str Open Time and str Close Time are the old values in the gridview and not the ones I have changed in the textvox and then clicked update.. Row Updating Dim str Open Time As String = Direct Cast(gv Business Hours.

Search for gridview rowupdating event in c net:

gridview rowupdating event in c net-26

Row Updating Dim str Open Time As String = Direct Cast(gv Business Hours.

Leave a Reply

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

One thought on “gridview rowupdating event in c net”

  1. You will ask her to meet up “in real life.” At the bar, you will chat nervously for an hour (she is not as pretty or as funny as you had hoped she’d be), and then you will be saddled with the check even though she ate most of the sweet potato fries.