我以前有碰到类似这样的问题,不过我是让用户设置自己的界面风格,
我是采用后者只用一个页面然后将有关样式方面的东西内容,通过将样式信息放在xml文档,
每次都是动态从xml文档中读起样式信息绑定到页面上的.你可以将各种样式信息保存在不同的xml文件中(1-10),然后登陆时通过产生(1-10)随机数据,并保存随机数以在后面的其它页面确定相应的xml文件来确定样式风格.

解决方案 »

  1.   

    随机背景简单啊,
    在服务端定义public string strBgColor;
    再定义一string数组 public string[] strColor = {"red", "blue", ......};//定义多一点System.Random rnd = new System.Random(874);
    int iColor = rnd.Next(20);
    strBgColor = strColor[iColor];在aspx页面中:
    <body bgcolor="<%=strBgColor%>">
      

  2.   

    public string strBgColor = "";
    public string[] strColors = {"red", "blue", .......}; //多定义几种随机取背景色:
    System.Random rnd = new System.Random(874);
    int iColor = rnd.Next(20);
    strBgColor = strColors[iColor];在aspx页面
    <body bgcolor="<%=strBgColor%>">
      

  3.   

    for a serious site, you need to make the look-and-feel consistent, you shouldn't do something you are suggesting. Of course,  like llm2002() said, you could offer choices to 让用户设置自己的界面风格as for 页面模板, yes, you can design your pages so that the layout/style is separate from the things being displayed, seehttp://www.aspalliance.com/PaulWilson/Articles/?id=1