简单叙述一下步骤1:吧对应颜色的代码找出来。比如黄色:f5fe00;2:给dropdownlist属性的AutoPostBack属性设置为True;3:在dropdownlist的SelectedIndexChanged事件里编写代码