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  
 
programming4us programming4us