GridView and FormView

  • Thread starter Thread starter Paulo
  • Start date Start date
P

Paulo

Hi, I have a aspx with a a FormView on left wich opens insert template as
default containing all the TextsBox, Combos, etc, and on right a GridView
listing the stored itens (ID column key)... When the user clicks on
gridview, it must open the formview in edit mode with all the objects
filled... how can I do that?

another question, if there is need to add more itens on the formview insert
template, must it be added manually on edit template too ?

Thanks
VS 2005 asp.net C# 2.0
 
Hi, I have a aspx with a a FormView on left wich opens insert template as
default containing all the TextsBox, Combos, etc, and on right a GridView
listing the stored itens (ID column key)... When the user clicks on
gridview, it must open the formview in edit mode with all the objects
filled... how can I do that?

another question, if there is need to add more itens on the formview insert
template, must it be added manually on edit template too ?

Thanks
VS 2005 asp.net C# 2.0

If your GridView/FormView bound to an ObjectDataSource, it can be
easily done as per example

C# Two-Way Databinding in a FormView Edit Template
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/formview.aspx
 

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

Back
Top