FormView - Single Record edit
- From: "KenK" <none@xxxxxxxxxxx>
- Date: Sun, 15 Jan 2006 01:54:20 -0500
Hi all,
Probably a simple question, however, I'm learning asp.net and wanted to use
a FormView to edit a single record (much like an *.ini on a win32 app) What
is the best way to programmatically determine if there is a record to
display and if not switch to "insert" mode.
I've successfully placed a button on the page and called
"FormView1.ChangeMode(FormView.Insert);"
While this works I'd prefer it to happen automatically.
Thanks,
Ken
PS. I'm guessing the work will be done if the page load event, but not
sure.
.
- Prev by Date: Inheriting from the TreeNode class
- Next by Date: Re: strange question about DropDownList
- Previous by thread: Inheriting from the TreeNode class
- Next by thread: Re: strange question about DropDownList
- Index(es):