Edit and Insert With Single Template

  • Thread starter Thread starter Metal2You
  • Start date Start date
M

Metal2You

I have a FormView control that I'm using to edit and insert records in
a table called Members in a Sybase database.

The short story is that there are a LOT of controls, and the controls
are exactly the same in both the EditItemTemplate and the
InsertItemTemplate. Is there any way to use the same template for both
Edit and Insert modes? It is a real pain to have to duplicate so much
ASP.NET code in the .aspx file.

Perhaps I should look into using another control?
 
did you find a workaround to your problem ? I have the same problem -
surely you don't have to duplicate the entire EditItemTemplate in the
InsertItemTemplate ?

TIA
 
Back
Top