I have a grid that is bound to a SQL Data Source control. I have a Command Item Template for editing the records.
When I click the edit selected row button, a custom edit form displays below the row displaying 30 different fields. Once I am done editing, I click the update button and SQL Data Source Updating event is kicked off where I need to set the values for the parameters of the SQL Data Source .
Also if we want to retrieve an Output parameter of stored procedure, for example, we can use the Inserted (Updated / Deleted) events of SQLData Source. NET forum I visit is how to change SQLData Source parameter. I know two common solutions to this problem, though I only tried one in my own web-pages. This is a stored proc that gets executed by the datasource.How do I access the templated fields inside the SQL Data Source Updating event?