Executing a Concatenated String

Discussion in 'ASP .Net' started by dh, Jul 17, 2003.

  1. dh

    dh Guest

    I'm tring to control the CssClass and BgColor of a TableCell
    WebControl with an ID of "Whatever".

    What's the difference?:

    //Coded Literally
    Whatever.CssClass="bodyWhiteHeader"; //this works fine

    //Coded via a value passed from a DropDownList
    (ddlSortData.SelectedItem.Value+".CssClass=\"bodyWhiteHeader\";").ToString();
    //this doesn't work. But no errors arise and it traces as a string
    with the correct syntax.

    thanks.
    dh, Jul 17, 2003
    #1
    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. Shabam

    Form variable concatenated

    Shabam, Sep 16, 2005, in forum: HTML
    Replies:
    2
    Views:
    394
    Mark Parnell
    Sep 16, 2005
  2. dejan budimir
    Replies:
    6
    Views:
    362
    Rolf Magnus
    Jul 4, 2004
  3. Prateek R Karandikar
    Replies:
    11
    Views:
    578
  4. Per Erik Stendahl

    Concatenated numerical literals

    Per Erik Stendahl, Mar 1, 2004, in forum: Python
    Replies:
    1
    Views:
    269
    Larry Bates
    Mar 1, 2004
  5. Alf P. Steinbach

    Re: Printing concatenated string ..

    Alf P. Steinbach, Nov 30, 2013, in forum: C++
    Replies:
    0
    Views:
    111
    Alf P. Steinbach
    Nov 30, 2013
Loading...

Share This Page