Formview delete doesn't work bound to a class

J

Joe

I created a data access class with get, insert, update and delete
methods. I have an object datasource bound to the class and a
formview bound to the datasource. The get, insert, and updates work
fine, but I can't get the delete to work. It does not pass any values
to the method for some reason. Doe anyone have any ideas what I might
be missing?
 
P

Phil H

I created a data access class with get, insert, update and delete
methods. I have an object datasource bound to the class and a
formview bound to the datasource. The get, insert, and updates work
fine, but I can't get the delete to work. It does not pass any values
to the method for some reason. Doe anyone have any ideas what I might
be missing?

Have you set the DataKeyNames property?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top