FormView Buttons

  • Thread starter Thread starter shapper
  • Start date Start date
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
 
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
 
Back
Top