Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Different Fonts in a list box

Posted on 2005-02-24
3
Medium Priority
?
279 Views
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"
                        Else
                            sVisited = "No"
                        End If
                        topicName.Add(sVideo & sImage & sFlash & sAudio & sVisited & "|     " & adoReader("ExerciseName"), adoReader("ExerciseID") & "-" & adoReader("Rating"))
0
Comment
Question by:wilcor14
1 Comment
 
LVL 15

Accepted Solution

by:
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

http://www.c-sharpcorner.com/Code/2003/July/DropDownListBox.asp

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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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 Month12 days, 1 hour left to enroll

564 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