GridView and FormView

Discussion in 'ASP .Net' started by Paulo, Nov 9, 2007.

  1. Paulo

    Paulo Guest

    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
     
    Paulo, Nov 9, 2007
    #1
    1. Advertising

  2. On Nov 9, 6:53 pm, "Paulo" <> wrote:
    > 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
     
    Alexey Smirnov, Nov 9, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    1,224
  2. Neo
    Replies:
    2
    Views:
    477
  3. ThePurpleCat
    Replies:
    0
    Views:
    861
    ThePurpleCat
    Oct 18, 2006
  4. Chris

    Formview within Formview

    Chris, May 19, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    543
    Chris
    May 19, 2007
  5. David Thielen

    FormView/Repeater/ Eval(FormView data)

    David Thielen, Jun 16, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    655
    David Thielen
    Jun 16, 2006
Loading...

Share This Page