Sqldatasource updating event
The connection to the underlying data source is not yet open when the event handler delegate is called.
Now, consider a situation where you don't want to display the username from the database but you want to display the current user in the txt User Name Text Box.
Sql Data Source allows you to Select/Insert/Update/Delete the data from the database without even writing a single line of code.
But sometimes you need to dynamically assign a parameter.
I apologize for having to ask this, but I'm fairly new at programming, so I'm not sure where to drop this code.
For those who stumble across this post later on, the only thing I had to change in the code above was (gvr. Find Control("txt Object Class") - a simple spelling error.