FormView Buttons

S

shapper

Hello,

I have a FormView for Insert and Updating records. I created the
templates at runtime.

My questions are:
1. Should I add 2 buttons?
The Edit button inside the EditItemTemplate and the Insert button
insert the InsertItemTemplate?
2. Should I define any property in the buttons to differentiate
between Update and Insert?

Thanks,
Miguel
 
M

Michael Nemtsev, MVP

Hello shapper,

See there http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/formview.aspx

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


s> Hello,
s>
s> I have a FormView for Insert and Updating records. I created the
s> templates at runtime.
s>
s> My questions are:
s> 1. Should I add 2 buttons?
s> The Edit button inside the EditItemTemplate and the Insert button
s> insert the InsertItemTemplate?
s> 2. Should I define any property in the buttons to differentiate
s> between Update and Insert?
s>
s> Thanks,
s> Miguel
 

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

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top