Sqldatasource updating cancel

10-Jul-2019 01:35

I am trying to get the values out of the update template to use in an update statement in the code behind.

When I set the var values, it is setting the original text box value and not the edited value.

Binding a Grid View control can sometimes get tricky when using the Visual Studio editor, especially when working with Drop Down List controls within the grid.

Moreover, to gracefully handle database- or object library-level exceptions in the page, the post-action event handlers should be used.To finish up then one has to set the Sql Data Source Update Parameters to the desired values.