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
Flex Shared Object - Array Collection access
asp.net: How to determine if the type of user logging in... is an Admin or a User
CSS works locally but not on server
Connect to an XenServer within iPhone
How can I prevent my object being overwritten in a for loop?
namespace question
MSG 3930 error in sqlserver2008
I am looking forward to learn about JSF with ICEfaces
Internet Explorer Nonfunctional After IE8 Upgrade
Sharing camcorder footage