I'm trying to hook up an ObjectDataSource to a RadGrid, and I get the following error msg:
In my Application, I have a Business Layer (BLL) and a Data Layer (DAL), and my Update method takes a fully populated object as a parameter, and not, as the error suggests, all the properties in a parameter list.
How can I configure the grid/ODS to pass an object to my BLL/DAL methods, instead of the properties one by one?
ObjectDataSource 'ObjKenneler' could not find a non-generic method 'UpdateKennel' that has parameters: KennelID, Telefon, Hjemmeside, Bynavn, Email, Vejnavn, Region, EjerFornavn, EjerEfternavn, Postnummer, Beskrivelse, Kennelnavn.
In my Application, I have a Business Layer (BLL) and a Data Layer (DAL), and my Update method takes a fully populated object as a parameter, and not, as the error suggests, all the properties in a parameter list.
How can I configure the grid/ODS to pass an object to my BLL/DAL methods, instead of the properties one by one?