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