C sqldatasource onupdating dating me for money
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?I need from my application execute this procedure and than get data by SELECT query.
For more information about how to handle events, see Handling and Raising Events.
Hi Steve, I guess you want to access a control in the Form Template on the On Updating event.
Please try the following sample code snippet, I have showed how to access a Text Box control similary you can access other controls using its ID.
I'm using the auto generated edit feature of Grid View and the edit button appears, clicking it enters edit mode but making changes and clicking update does nothing.
As far as I can tell On Row Editing triggers but On Row Updating does not. I have tested my Update Command on the SQL database directly and it works as intended.
Unfortunately adding specific declarations for parameters doesn't resolve my issue and I have no need (right now) for custom formatting of the Grid View.