Code Project

Link Unit

Thursday, February 19, 2009

ObjectDataSource: could not find a non-generic method '...'

I found this can help:
Change:
OldValuesParameterFormatString="original_{0}"
to
OldValuesParameterFormatString="{0}"

But in most of my cases the following helped

A “Bind” was added accidently to a hidden Field, and it started showing as input parameter to the Insert /Update Method because of 2 way Binding. I went to the aspx and changed those "extra" fields to say "Eval" instead of "Bind" and it all started working again.