Populating a FormView from different data

Discussion in 'ASP .Net Web Controls' started by sylan, Jul 18, 2008.

  1. sylan

    sylan Guest

    Hi,

    I have a form which creates a request for access to one or more departments.
    The formview uses datasource1 to pull all of the files and create an insert
    form for this. However, I need for the formview to populate the "department"
    field with a list of available departments from datasource2 (different
    database server).

    Is it possible to populate the values in an insert formview from datasource2
    and then insert those values into datasource1?
    sylan, Jul 18, 2008
    #1
    1. Advertising

  2. sylan

    Stan Guest

    When you say:

    However, I need for the formview to populate the "department"
    > field with a list of available departments from datasource2 (different
    > database server).


    Do you mean populate for example a DropDownList?

    > Is it possible to populate the values in an insert formview from datasource2
    > and then insert those values into datasource1?


    It is quite normal to populate a list control from one datasource and
    link the output to another. So the answer is yes.
    Stan, Jul 18, 2008
    #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. =?Utf-8?B?Z2c3Nw==?=
    Replies:
    3
    Views:
    708
    Eliyahu Goldin
    Aug 18, 2005
  2. sck10
    Replies:
    3
    Views:
    7,836
    Steven Cheng[MSFT]
    Dec 26, 2005
  3. Phil Sandler

    Populating Dropdownlist in Formview

    Phil Sandler, Dec 19, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    464
    Phil Sandler
    Dec 19, 2006
  4. David Wertz

    Populating textbox in Formview with a QueryString

    David Wertz, Aug 18, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    139
    David Wertz
    Aug 18, 2004
  5. David Thielen

    FormView/Repeater/ Eval(FormView data)

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

Share This Page