可以的
先放入一个[HTML]选项卡中的dropdown控件,将它作为服务器控件运行,C#代码写
Select1.Items.Add("ABC");
Select1.Items.Add("DEF");
Select1.Items[1].Attributes["style"]="background-color: fuchsia;";
先放入一个[HTML]选项卡中的dropdown控件,将它作为服务器控件运行,C#代码写
Select1.Items.Add("ABC");
Select1.Items.Add("DEF");
Select1.Items[1].Attributes["style"]="background-color: fuchsia;";
http://expert.csdn.net/Expert/topic/2499/2499826.xml?temp=.4371454