Mar 14, 2007 07:21 PM|rjax|LINK
I had another problem that caused the error. While throwing together a prototype I added a column to my db table called Completed. When I implemented my BLL I named the Insert method parameter IsCompleted. The ObjectDataSource then looked for a method with
parameters named IsCompleted and Completed. When I changed the Insert method parameter to match the column name the problem resolved itself. I haven't got a clue why this should be. The BLL communicates with the DAL through it's exposed methods and I don't
expect it to have any awareness of the underlying data.
BTW For everybody that's having problems because of the Refresh tables or original value property; you might want to take a look at the Data Access Tutorial
http://www.asp.net/learn/dataaccess/tutorial21cs.aspx?tabid=63. This explains the default implementation of optimistic concurrency.