is there such a Cancel() method for FormView or ObjectDataSource?

A

Afshar

hi everyone there,

i am checking a specific circumstance in Inserting event of FormView
or ObjectDataSource controld and wants to be able to cancel inserting
based upon my validation. but don't have a Cancel() method on them.
how can do that?

my ObjectDataSource is used with DataSet(xsd).
my final goal is to permit or deny ASPNET users to insert records to
database


thanks in advance
afshar
 

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,774
Messages
2,569,598
Members
45,161
Latest member
GertrudeMa
Top