在ASP.NET中,如何使用dropdownlist控件来动态改变网页背景和颜色???

2025-05-22 09:29:21
推荐回答(1个)
回答1:

DROPDOWNLIST AUTOPOSTBACK 选择为TRUE
然后在SelectedIndexChanged 事件写入你要的程序
多建立几个 MASTER 文件 背景 颜色 框架不一样。

方法二:DROPDOWNLIST AUTOPOSTBACK 选择为TRUE
BODY标签 的bgcolor='<%DROPDOWNLIST.value%>' 这样