前台给DIV个ID <div runat="server" id="qq"></div> runat="server" 很重要啊 后台要控制的地方 this.qq.Style.Add("display", "none");//隐藏 this.qq.Style.Add("display", "block");//显示 找了半天。感觉这个比较简单