System.InvalidOperationException: ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'Update' that has parameters: ...
This was my fate after simmplllyy following an ASP 2.0 tutorial vid(eo) click-for-click. Thinking that somehow this was my fault ie I mistakingly omitted some parameter, I spent about an hour doing the thing over and over and... o.. Eventually I found the problem, and it was linked to the way that ASP 2.0 (and VS'05) handles the ObjectDataSource object (this also depends on the data and data types as they are in your database). IE, It can happen to anyone and is not directly proportional to your c0ding skill.
In retrospect, I should've checked online, as when I did (a couple hours after I got it fixed), I saw that tons of developers had that problem! And good suggestions have been made to curb it. Here are a couple: one, two.
Other that that little hickup, ASP 2.0's looking very very nice and yea, I know, I'm late... as it's been out for a while but, better late than never! And once I see no ASP 3.0 headlines from MS, I still think I'm sitting well!
tagged: professional // Comments [0]
Related posts:Select a random row in MS SQL...Regular expressionsVS2005, ASP.NET 2 & DLLs, DLLs..MS's ASP.NET and.. PHP2-way databinding cascading drop down lists within a FormViewApplicationName Property when customising providers
Disclaimer The posts on this blog are provided "AS IS" with no warranties. The opinions expressed herein are my own personal opinions and do not represent any other person's views in anyway.