Geeks With Blogs

News


Rodney Vinyard - .NET & SQL Developer When all is said and done, more will be said than done

Problem: ObjectDataSource could not find a non-generic method 'Update' that has parameters: ...., original_Id.

Take steps:

1) Change ObjectDataSource :
OldValuesParameterFormatString="original_{0}"
to
OldValuesParameterFormatString="{0}"

2) Remove original_Id references from :

(a) update stored proc (if automatically generated),

(b) dataset (XSD)

other links:

http://geekswithblogs.net/chrishan/archive/2005/07/13/46223.aspx

 

Posted on Friday, June 29, 2007 12:26 AM XML & Datasets | Back to top


Comments on this post: ObjectDataSource could not find a non-generic method 'Update' that has parameters: ...., original_Id.

# re: ObjectDataSource could not find a non-generic method 'Update' that has parameters: ...., original_Id.
Requesting Gravatar...
Just when I was about to give up with the idea of using an ObjectDataSource with a strongly-typed dataset I saw your posting.
Thanks that fixes the problem!
Left by Vladi on Jul 25, 2007 5:37 AM

# re: ObjectDataSource could not find a non-generic method 'Update' that has parameters: ...., original_Id.
Requesting Gravatar...
I suppose that a lot of people will benefit from your post. You know it's not easy to discover worthy blogs nowadays, I am glad I came across your.
Left by research paper service on Jul 20, 2010 11:28 AM

Your comment:
 (will show your gravatar)


Copyright © Rodney Vinyard | Powered by: GeeksWithBlogs.net