By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,426 Members | 3,118 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,426 IT Pros & Developers. It's quick & easy.

disable updates on formview

P: n/a
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
Oct 2 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com

"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:DA**********************************@microsof t.com...
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

Oct 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.