Microsoft
Software
Hardware
Network
Question : Changing font of one datamember value in a dropdown listbox
I would like to Italicize the first item of a drop down list box. The datasource will be an Arraylist of strings.
Is this possible?
Would it be better to just alter the first string of the array list with a custom font?
If so, is there an efficient/easy way of customizing the font of a string?
Thanks
Answer : Changing font of one datamember value in a dropdown listbox
1. change your select statement, this is really vunerable for sql injection.
2. You can make a TemplateField instead of a BoundField. From there you can use <%# Eval("name of your datafield") %> in order to get the information you need.
Random Solutions
Novell migration
Need a forum script
Custom Shortcut Menus in MS Access 2007
Error when perform text replacement in Word
Exchange 2007 and confirmation upon opened e-mail
Symantec Endpoint Network Problems
Error "Cannot Quit Visual FoxPro" when closing form with embedded OLE MapPoint control
Lost access to Vcenter
Windows Explorer Freezing when Browsing Into a Certain Folder
Changing Allow/Block settings on Autodiscover prompt in Outlook