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
jQuery UI Dialog with ASP.Net Postbacks
Restarting a WPF application to apply updates
SQL Reporting Services - OnPrint event
Accessign XML file from same directory on remote server
get latest file in the directory in unix
Exchange 2003 - new Server - still routing through old smtp virtual server
permissions changed after moving folder from one server to another
cisco softphone registration
Terminal server 2008 R2 Pinned Taskbar Links
How to draw a cardioid in Opengl?