This forum is only for questions or discussions about working with the mojo Portal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc.
If your question is not along these lines this is not the right forum.
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.
Text = "No Country Found." End If If Not Is DBNull(Session("Start Date")) Then lbl Date Created.
So that good, but if I click "Update" he is doing the same thing as what is happening at "Cancel".
When I click Cancel I'm just getting back to the Gridview.
Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs. On Row Updating(Grid View Update Event Args) method also allows derived classes to handle the event without attaching a delegate.