Results 1 to 3 of 3

Thread: how to bind 2 dropdownlists in one datagrid?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    how to bind 2 dropdownlists in one datagrid?

    In my datagrid I have two templatecolumns with dropdownlists.

    the first is bound wiht the method

    BindFirst()

    Pretty standard...

    the other is more difficult

    It is dependant on what is selected in the first dropdownlist..

    so that method looks like

    BindSecond(byval id as string)

    How do I write this in the databind expression in the aspx file????

    Im stuck...

    /Henrik

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    Re: how to bind 2 dropdownlists in one datagrid?

    Just want to point out that the id parameter is what is selected in the first dropdown.

    HEEELP!

    /Henrik

  3. #3
    Addicted Member rdove's Avatar
    Join Date
    Dec 2002
    Location
    Indianapolis
    Posts
    251

    Re: how to bind 2 dropdownlists in one datagrid?

    Are you using a dataset to bind all your data? The code you posted doesn't tell anyone what you are actually doing in your functions.
    ~Ryan





    Have I helped you? Please Rate my posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width