FormView > Edit

Discussion in 'ASP .Net' started by shapper, Sep 22, 2007.

  1. shapper

    shapper Guest

    Hello,

    I have a GridView where each row has an EDIT and a DELETE buttons.

    I also have a FormView with TextBoxes, DropDownLists, etc.

    When an EDIT button is pressed I make the MyFormView.Visible = True.

    My questions are:

    1. How can I turn my FormView to EDIT mode?

    2. How can I send the ID (Primary Key) of the GridView's selected row
    to my FormView and how to access it in it?

    Thank You,

    Miguel
    shapper, Sep 22, 2007
    #1
    1. Advertising

  2. shapper

    shapper Guest

    On Sep 22, 12:45 am, shapper <> wrote:
    > Hello,
    >
    > I have a GridView where each row has an EDIT and a DELETE buttons.
    >
    > I also have a FormView with TextBoxes, DropDownLists, etc.
    >
    > When an EDIT button is pressed I make the MyFormView.Visible = True.
    >
    > My questions are:
    >
    > 1. How can I turn my FormView to EDIT mode?
    >
    > 2. How can I send the ID (Primary Key) of the GridView's selected row
    > to my FormView and how to access it in it?
    >
    > Thank You,
    >
    > Miguel


    Please, any idea?
    shapper, Sep 22, 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. P. Yanzick

    FormView Edit Template Issue

    P. Yanzick, Feb 3, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    6,626
    P. Yanzick
    Feb 7, 2006
  2. =?Utf-8?B?RGFiYmxlcg==?=

    specify row to edit when opening formview from gridview?

    =?Utf-8?B?RGFiYmxlcg==?=, Mar 22, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    7,573
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    Mar 23, 2006
  3. =?Utf-8?B?TG9yZW56aW5v?=
    Replies:
    7
    Views:
    2,139
    =?Utf-8?B?RHVzdGluIHZhbiBkZSBTYW5kZSBbTUNBRF0=?=
    Apr 14, 2006
  4. Chris

    Formview within Formview

    Chris, May 19, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    507
    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:
    623
    David Thielen
    Jun 16, 2006
Loading...

Share This Page