Value in rowupdating event deep dating guardian
Last Change: More Information (@jwiscarson) I’m sorry, I was in hurry. In that project, the users could select 2 categories, enter a search string and the result will show in a Grid View. Here is my problem, if the "admin user" click on edit, change the value of the cell and execute the update, the value would not changed in the Hoo boy.You didn't ask this in your question, but you've written some smelly code here.I'll try to address your question, but I'm also going through some of the other problems here.Without seeing your markup, it's hard for me to tell if you've created .What I want is to be able to update a user's roles based on the selections in those checkboxes.I'm approaching this by writing some code for the Grid View's Row Updating event.
This is the HTML code: Imports System. Text = Session("ID") If Not Is DBNull(Session("City")) Then lbl Company City. Text = "No City Found." End If If Not Is DBNull(Session("Address")) Then lbl Company Address. Row Editing Session("Work Order Item ID") = Convert.
The difference between your code and the code on MSDN is: - The MSDN code takes the new data from the edited row and updates the appropriate data in the To me, this is garbage, because it's so highly coupled to the order of your cells.