disable updates on formview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,
if i want the user to only be able to add one record on the formview what's
the best way to do this? they can edit current record but not add more than
one. they can also delete that one record.

any ideas?
thanks,
rodchar
 
When the user inserts the one record - retrieve and keep the PK id in memory
(session or cookie if the need is longer), so that they can only edit or
delete that one record- then check to see if it exists and if they try to
enter another, just keep them from it.
 

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

Similar Threads

FormView 3
what to use for display 3
iTemplate Formview Problem 3
what does databind do 3
GridView and FormView 1
FormView > Edit 1
Dynamically Enable/Disable Controls Inside FormView 3
detailview or formview 1

Back
Top