Skip to content

Instantly share code, notes, and snippets.

@yaplex
Created June 15, 2017 21:36
Show Gist options
  • Save yaplex/7de2243256ec616417e03984482c3627 to your computer and use it in GitHub Desktop.
Save yaplex/7de2243256ec616417e03984482c3627 to your computer and use it in GitHub Desktop.
protected void GridView1_OnRowUpdating(object sender, GridViewUpdateEventArgs e)
{
// if APP_ID in the grid bind with Eval method, it will be exception below
// But if you use Bind instead of Eval it will be ok.
rowToUpdate = e.NewValues["APP_ID"];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment