Response.Write("<script>window.alert('Error: 0001a43 初始化数据失败!')</script>");
Response.Write("<Script>window.open('AMHSMain.aspx','', '');</Script>");
//单击 Web上Button 是跳出窗口显示Unit的状态
Response.Write("<Script>window.open('stkinfo.aspx?buttonname="+((Button)sender).ClientID.ToString () +" ','newwindow', 'height=500, width=400, toolbar= no, menubar=no, scrollbars= auto, resizable=yes, location=no, status=no');</Script>");
//获取上一个页面的传值 (所按Button的名称)
string btName = Request.QueryString["buttonname"];
Response.Write("<script Language=JavaScript>window.parent.fraRightFrame.location='ViewAsGrid.aspx?CommandID=Show_UpTime'</script>");
string strheader = "Information about ::" + btName + "<br> <hr>" ;
string strShowMsg = "<font color = blue>系统关于"+strNEQName + "的设定:</font><hr><br>";
lbl1.Text = strheader;
showmsg.Text = strShowMsg;
//更新状态
Response.Redirect ("AMHSStatus.aspx");
//改变Button 的 onmouseover 显示方式
Updates.Attributes.Add("onmouseover", "this.style.cursor = 'hand' ");
Response.Write("<Script>window.open('AMHSMain.aspx','', '');</Script>");
//单击 Web上Button 是跳出窗口显示Unit的状态
Response.Write("<Script>window.open('stkinfo.aspx?buttonname="+((Button)sender).ClientID.ToString () +" ','newwindow', 'height=500, width=400, toolbar= no, menubar=no, scrollbars= auto, resizable=yes, location=no, status=no');</Script>");
//获取上一个页面的传值 (所按Button的名称)
string btName = Request.QueryString["buttonname"];
Response.Write("<script Language=JavaScript>window.parent.fraRightFrame.location='ViewAsGrid.aspx?CommandID=Show_UpTime'</script>");
string strheader = "Information about ::" + btName + "<br> <hr>" ;
string strShowMsg = "<font color = blue>系统关于"+strNEQName + "的设定:</font><hr><br>";
lbl1.Text = strheader;
showmsg.Text = strShowMsg;
//更新状态
Response.Redirect ("AMHSStatus.aspx");
//改变Button 的 onmouseover 显示方式
Updates.Attributes.Add("onmouseover", "this.style.cursor = 'hand' ");