Text Modification

Discussion in 'ASP General' started by Kevin Davis, Aug 3, 2006.

  1. Kevin Davis

    Kevin Davis Guest

    Hello,

    I would like to do some modifcation based upon the value on a text
    field. What I would like to do is have the text turn bold face based
    upon the value of the text field. For example if the field contains a
    value 4 I would like to have the text some where else in the program
    change into bold type.

    Anyhelp would do.


    Kevin Davis
     
    Kevin Davis, Aug 3, 2006
    #1
    1. Advertising

  2. "Kevin Davis" <> wrote in message
    news:...
    > Hello,
    >
    > I would like to do some modifcation based upon the value on a text
    > field. What I would like to do is have the text turn bold face based
    > upon the value of the text field. For example if the field contains a
    > value 4 I would like to have the text some where else in the program
    > change into bold type.
    >
    > Anyhelp would do.
    >


    A stab in the dark would be:-

    If rs("field1").value = 4 Then
    Response.Write "<b>" & Server.HTMLEncode(rs("field2").value) & "</b>"
    End If

    If you provide an abridged version of the relevant code you have so far you
    might get a better answer.

    >
    > Kevin Davis
    >
     
    Anthony Jones, Aug 3, 2006
    #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. Drew
    Replies:
    2
    Views:
    1,570
    Charles M. Elias
    Aug 2, 2004
  2. Abhi

    modification in redered text

    Abhi, Nov 19, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    366
    sourcecode
    Nov 20, 2003
  3. WT
    Replies:
    2
    Views:
    436
  4. GoCoogs
    Replies:
    2
    Views:
    427
    Karl Heinz Buchegger
    Oct 10, 2005
  5. Siddharth  Karandikar

    hpricot selective text modification

    Siddharth Karandikar, Dec 13, 2006, in forum: Ruby
    Replies:
    3
    Views:
    141
    Siddharth Karandikar
    Dec 13, 2006
Loading...

Share This Page