Drop down lists and Grid View

Discussion in 'ASP .Net' started by usaccess@gmail.com, Jun 12, 2007.

  1. Guest

    Hi

    I have a sql data source that is pointing to a table which is accessed
    through a grid view.

    My goal is to have one of the columns in this table be populated as a
    drop down list from another table.

    Then I edit the template fields and choose another data source for the
    template field.

    However when I use the field in a browser to update it gives me an
    error.

    appreciate your help.

    regards
     
    , Jun 12, 2007
    #1
    1. Advertising

  2. David Wier Guest

    Check out this code sample from ASPNet101.com:
    http://www.aspnet101.com/aspnet101/aspnet/codesample.aspx?code=EditDDL_GV

    It shows how to use a DDL in an TemplateField, for editing

    --
    David Wier
    MVP/ASPInsider
    http://aspnet101.com
    http://iWritePro.com



    <> wrote in message
    news:...
    > Hi
    >
    > I have a sql data source that is pointing to a table which is accessed
    > through a grid view.
    >
    > My goal is to have one of the columns in this table be populated as a
    > drop down list from another table.
    >
    > Then I edit the template fields and choose another data source for the
    > template field.
    >
    > However when I use the field in a browser to update it gives me an
    > error.
    >
    > appreciate your help.
    >
    > regards
    >
     
    David Wier, Jun 12, 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. SirPoonga
    Replies:
    2
    Views:
    818
    Ben Strackany
    Jan 7, 2005
  2. weiwei
    Replies:
    0
    Views:
    1,073
    weiwei
    Jan 5, 2007
  3. msimmons
    Replies:
    0
    Views:
    549
    msimmons
    Jul 16, 2009
  4. Replies:
    5
    Views:
    317
  5. Replies:
    3
    Views:
    323
Loading...

Share This Page