Dynamic control creation in datagrid based on data in that column

Discussion in 'ASP .Net' started by mitramay@gmail.com, Sep 20, 2006.

  1. Guest

    I am creating a dynamic datagrid. The controls in some of the template
    columns will have to be generated based on the data contained in them
    (i.e. the data for that respective DataField column). For example, if I

    have a column called Available, the possible values for it are Yes or
    No. In case it is "Yes" I need a label in that column and in case it is

    "No" I need a hyperlink. Pls help.
     
    , Sep 20, 2006
    #1
    1. Advertisements

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. carlos perez
    Replies:
    0
    Views:
    571
    carlos perez
    Jun 8, 2004
  2. John E.
    Replies:
    3
    Views:
    4,736
    masoud bayan
    Mar 25, 2005
  3. vishnu
    Replies:
    1
    Views:
    1,449
    Patrick.O.Ige
    Mar 25, 2006
  4. Replies:
    0
    Views:
    419
  5. Replies:
    1
    Views:
    442
    Baski
    Sep 22, 2006
  6. johnsonlim026
    Replies:
    0
    Views:
    1,092
    johnsonlim026
    Feb 27, 2010
  7. Replies:
    0
    Views:
    213
  8. John E.

    Move bound column to right of dynamic column in datagrid?

    John E., Mar 24, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    469
    Elton Wang
    Mar 28, 2005
Loading...