Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Different Fonts in a list box

Posted on 2005-02-24
3
Medium Priority
?
270 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
[X]
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
3 Comments
 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
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…
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…

610 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