Different Fonts in a list box

Posted on 2005-02-24
Medium Priority
Last Modified: 2013-12-03
In Visual Studio using vb for ASP.net:

In the list box for a particular line, I have variables with values to display. I want to display the value sVisited "Yes" as a check mark using the wingdings 2 font capital P and for sVisited "No" as a cross mark using the wingdings 2 font capital O. The rest of the values I want to leave them as their normal font so lets say Verdana. Can anyone help me? Thanks.

If sUsers.Contains(UserID) Then
                            sVisited = "Yes"
                            sVisited = "No"
                        End If
                        topicName.Add(sVideo & sImage & sFlash & sAudio & sVisited & "|     " & adoReader("ExerciseName"), adoReader("ExerciseID") & "-" & adoReader("Rating"))
Question by:wilcor14
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 15

Accepted Solution

praneetha earned 2000 total points
ID: 13398172
i don't think you can do that..it keeps the font of whole textbox same thing...you can change the bgcolor of those things if u want


that to by using <select of html and making it runat=server

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question