The gridview gridview1 fired event rowupdating which wasn t handled
" End Sub Protected Sub Sub Show History(By Val int Student Id As String) Dim SQLCon As New Sql Connection SQLCon. Connection String Dim SQLCmd Select As New Sql Command("sp_Select Order History", SQLCon) SQLCmd Select. Stored Procedure Dim da As New Sql Data Adapter(SQLCmd Select) Dim ds As New Data Set() SQLCon. Do you always load the data through I do have a Data Source Id in the Gridview definition on the aspx page. but I'm not sure how to fix it, b/c it's working on initial load, but not when Sub Show History is called. When Sub Show History fires, the Edit command fails. I've run into some funky problems with a gridview firing events which were not handled, when I've manipulated Data Source ID's and Data Source's. --- edited, more info --- That's exactly the problem.How about at least some documentation on this sweet "feature" Microsoft?????
But as I noted in the comments in that method, some collections that should contain the columns (names, old values and new values) are always empty. And the Row Updated method is never even touched!!! NET Forums that I need to use a Data Source control.
Which means I won’t make my 70% code reduction Microsoft has always promised me.
- I have written a new series on N-Layer design targeting ASP. How do these business objects interact with other parts of the system?
All samples of course assume you’re doing everything in your page, but I have to do everything in my code-behind, because on forehand I don’t know what I’ll be binding to my Grid View.
Check out what I’m trying to do, maybe you can help?