帮忙看看这个显示的问题 CSDN上没法贴图片,只有你把图片放到网上,然后连接上去. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <HTML> <HEAD> <title>WebForm1</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="C#" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <LINK href="../cs/main.css" type="text/css" rel="stylesheet"> </HEAD> <style> .agetime_bar { BORDER-RIGHT: 1px outset; BORDER-TOP: 1px outset; Z-INDEX: 98; LEFT: 0px; BORDER-LEFT: 1px outset; WIDTH: 100%; BORDER-BOTTOM: 1px outset; POSITION: absolute; TOP: 0px; HEIGHT: 22px; BACKGROUND-COLOR: rgb(212,208,200) } .agetime_barItem { BORDER-RIGHT: rgb(212,208,200) 0px solid; BORDER-TOP: rgb(212,208,200) 0px solid; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BACKGROUND: rgb(212,208,200); BORDER-LEFT: rgb(212,208,200) 0px solid; WIDTH: 70px; COLOR: #000000; BORDER-BOTTOM: rgb(212,208,200) 0px solid; HEIGHT: 20px; TEXT-ALIGN: left } .agetime_barItemDown { BORDER-RIGHT: rgb(212,208,200) 0px inset; BORDER-TOP: rgb(212,208,200) 0px inset; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BACKGROUND: #f0f0f0; BORDER-LEFT: rgb(212,208,200) 0px inset; WIDTH: 70px; COLOR: #000000; BORDER-BOTTOM: rgb(212,208,200) 0px inset; HEIGHT: 20px; TEXT-ALIGN: left } .agetime_barItemHover { BORDER-RIGHT: 1px outset; BORDER-TOP: 1px outset; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BACKGROUND: #f0f0f0; BORDER-LEFT: 1px outset; WIDTH: 70px; COLOR: #000000; BORDER-BOTTOM: 1px outset; HEIGHT: 20px; TEXT-ALIGN: left } .agetime_pad { FONT-SIZE: 9pt; WIDTH: 100%; CURSOR: default } .agetime_padItem { BORDER-RIGHT: rgb(212,208,200) 1px solid; BORDER-TOP: rgb(212,208,200) 1px solid; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BACKGROUND: rgb(212,208,200); BORDER-LEFT: rgb(212,208,200) 1px solid; WIDTH: 100%; COLOR: #000000; BORDER-BOTTOM: rgb(212,208,200) 1px solid; HEIGHT: 18px; TEXT-ALIGN: left } .agetime_padItemFalse { PADDING-LEFT: 10px; FONT-SIZE: 9pt; COLOR: #808080 } .agetime_padItemFalseHover { PADDING-LEFT: 10px; FONT-SIZE: 9pt; COLOR: #808080; BACKGROUND-COLOR: #333366 } .agetime_padItemHover { PADDING-LEFT: 10px; FONT-SIZE: 9pt; WIDTH: 100%; COLOR: #ffffff; HEIGHT: 18px; BACKGROUND-COLOR: #333366; TEXT-ALIGN: left } .agetime_padItemDown { BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BORDER-LEFT: 1px inset; WIDTH: 100%; COLOR: #ffffff; BORDER-BOTTOM: 1px inset; HEIGHT: 18px; BACKGROUND-COLOR: #9999cc; TEXT-ALIGN: left } .agetime_hr { BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset; BORDER-LEFT: 1px inset; BORDER-BOTTOM: 1px inset } .agetime_board { BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset; BACKGROUND-COLOR: rgb(212,208,200) } </style> <script language="vbscript"> sub gomain_onclick parent.location.href="http://10.0.2.7/epp/default.htm" end sub </script> <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0"> <script language="javascript"> var menu = agetimeMenu("agetime", [ [ ["1#机组",null,null,true,"1#机组"] ], [ ["2#机组",null,null,true,"2#机组"] ], [ ["3#机组",null,null,true,"3#机组"] ], [ ["4#机组",null,null,true,"4#机组"] ], [ ["5#机组",null,null,true,"5#机组"] ], [ ["6#机组",null,null,true,"6#机组"] ], [ ["7#机组",null,null,true,"7#机组"] ], [ ["系统导航",null,null,true,"系统导航"], //显示文字,方法,命令,状态,状栏显示文字 ["实时数据",null,"../newrealdata/mainrealdata.aspx",true,"实时数据"], ["单表电量",null,"../query/ShujuQuery.aspx",true,"单表电量"], ["多表电量",null,"../dlcx/dlcx.aspx",true,"多表电量"], ["厂发电量",null,"../cfdl/cfdl.aspx",true,"厂发电量"], ["生产用电",null,"../newpage/scyd.aspx",true,"生产用电"], ["报警信息",null,"../alarm/alarmtable.aspx",true,"报警信息"], ["首页",null,"../default.htm",true,"首页"] ]] ); //方法为"js"时,命令则为javascript语句,为非"js"值时,命令则是一个URL,而打开这个URL的目标位置则是方法所指定的窗口; //["你好","js","alert('Hello'),true,"一声问候"]; //显示文字为"--"是按钮是一个分隔符; function agetimeMenu(id,array){ var menu=this; menu.pad=null; //装载各个子菜单 menu.barItems=[]; //菜单条的各位按钮 menu.pads=[]; //每个子菜单为一个table存放于menu.pad上; menu.selectedIndex=-1; //菜单条选中按钮的索引值 menu.board=null; //子菜单面板 //建立菜单条 this.crtMenuBar=function(){ var len=array.length; menu.bar = document.body.appendChild(document.createElement('div')); menu.bar.className=id+"_bar"; for(var i=0;i<len;i++){ menu.barItems[i]=menu.addMenuBarItem(array[i][0],i); menu.addMenuPad(array[i],i); } } //子菜单 this.addMenuPad=function(ary,index){ var len=ary.length; var pad=menu.crtElement("table",menu.pad); pad.cellSpacing=1; pad.cellPadding=0; pad.className=id+"_pad"; pad.style.display="none"; for(var i=1;i<len;i++){ var Row=pad.insertRow(i-1); menu.addMenuPadItem(ary[i],Row); } menu.pads[index]=pad; } //各子菜单按钮 this.addMenuPadItem=function(ary,Row){ var Cell=Row.insertCell(0); if(ary[0]!="--"){ Cell.innerText=ary[0]; if(ary[3]){ //有效状态; Cell.className=id+"_padItem"; Cell.onmouseover=function(){ Cell.className=id+"_padItemHover"; window.status=ary[4]; } Cell.onmouseout=function(){ Cell.className=id+"_padItem"; window.status=""; } Cell.onmousedown=function(){ Cell.className=id+"_padItemDown"; } Cell.onmouseup=function(){ Cell.className=id+"_padItemHover"; menu.hideMenu(); menu.execute(ary); } } else{ //按钮无效; Cell.className=id+"_padItemFalse"; Cell.onmouseover=function(){ Cell.className=id+"_padItemFalseHover"; window.status=ary[4]; } Cell.onmouseout=function(){ Cell.className=id+"_padItemFalse"; window.status=""; } } } else{ var hr=menu.crtElement("hr",Cell); hr.className=id+"_hr"; } Cell.onclick=function(){ event.cancelBubble=true; } } //菜单条的按钮 this.addMenuBarItem=function(ary,index){ var item=menu.crtElement("button",menu.bar); item.value=ary[0]; item.disabled=!ary[3]; item.className=id+"_barItem"; item.onmouseover=function(){ if(menu.selectedIndex==-1){ item.className=id+"_barItemHover"; } else{ menu.barItems[selectedIndex].className=id+"_barItem"; item.className=id+"_barItemDown"; menu.showMenu(index); } window.status=ary[4]; } item.onmouseout=function(){ if(menu.selectedIndex==-1) item.className=id+"_barItem"; window.status=""; } item.onclick=function(){ event.cancelBubble=true; if(menu.selectedIndex==-1){ item.className=id+"_barItemDown"; menu.showMenu(index); } else{ menu.hideMenu(); item.className=id+"_barItemHover"; } menu.execute(ary); item.blur(); } return item; } //显示子菜单 this.showMenu=function(index){ if(menu.selectedIndex!=-1) menu.pads[selectedIndex].style.display="none"; menu.board.style.pixelLeft=menu.barItems[index].offsetLeft+2; //menu.board.style.pixelHeight=""; if(menu.pads[index].rows.length>0) menu.board.style.display=""; else menu.board.style.display="none"; menu.pads[index].style.display=""; menu.selectedIndex=index; } //隐藏子菜单 this.hideMenu=function(){ if(menu.selectedIndex==-1) return; menu.barItems[menu.selectedIndex].className=id+"_barItem"; menu.pads[selectedIndex].style.display="none"; menu.selectedIndex=-1; menu.board.style.display="none"; } //执行菜单命令; this.execute=function(ary){ if(ary[2]==null) return; if(ary[1]=="js") { eval(ary[2]); menu.hideMenu(); } else if(ary[1]==null || ary[1].toLowerCase=="_self") location.href=ary[2]; else{ var x=window.open(ary[2],ary[1]); x.focus(); } } //建立子菜单的显示面板 this.crtMenuBoard=function(){ document.write( "<div id='"+id+"_board' style='position:absolute;width:160px;height:10px;left:0px;top:20px;background-color:#666666;z-index:99;display:none;'>"+ "<div style='position:absolute;width:100%;height:100%;left:0px;top:0px;'>"+ "<iframe id='"+id+"_frame' name='"+id+"_frame' width='100%' height='100%' frameborder='0' scrolling='no'></iframe>"+ "</div>"+ "<div id='"+id+"_pad' style='position:absolute;width:100%;height:100%;left:0px;top:0px;'></div>"+ "</div>" ); menu.board=document.getElementById(id+"_board"); menu.pad=document.getElementById(id+"_pad"); menu.pad.className=id+"_board"; menu.pad.onselectstart=function(){ return false;} } //增加对像的一个子元素 this.crtElement=function(el,p){ return p.appendChild(document.createElement(el)); } //安装菜单; this.setup=function(){ menu.crtMenuBoard(); menu.crtMenuBar(); document.attachEvent("onclick",menu.hideMenu); } menu.setup(); } </script> <form id="Form1" method="post" runat="server"> <table style="LEFT: 0px; POSITION: absolute; TOP: 22px" height="100%" cellSpacing="5" cellPadding="0" width="100%" border="0"> <tr> <td class="ts1" vAlign="middle" height="30"> <table cellSpacing="0" cellPadding="0" border="0"> <tr> <td>查询</td> <td><asp:dropdownlist id="ddl_querytype" runat="server" Width="72px"> <asp:ListItem Value="有功电量" Selected="True">有功电量</asp:ListItem> <asp:ListItem Value="无功电量">无功电量</asp:ListItem> </asp:dropdownlist></td> <td>机组</td> <td><asp:dropdownlist id="ddl_jizu" Runat="server" AutoPostBack="True"></asp:dropdownlist></td> <td>电表</td> <td><asp:dropdownlist id="ddl_meter" Runat="server"></asp:dropdownlist></td> <td>时间从</td> <td><EPPWEB:DATETEXTBOX id="datetextboxstart" runat="server"></EPPWEB:DATETEXTBOX></td> <td>到</td> <td><EPPWEB:DATETEXTBOX id="datetextboxend" runat="server"></EPPWEB:DATETEXTBOX></td> <td>单位</td> <td><asp:DropDownList ID="ddl_danwei" Runat="server"> <asp:ListItem Value="万千瓦时">万千瓦时</asp:ListItem> <asp:ListItem Value="兆千瓦时">兆千瓦时</asp:ListItem> <asp:ListItem Value="千瓦时" Selected="True">千瓦时</asp:ListItem> </asp:DropDownList></td> <td><asp:button id="ButtonRetrieve" runat="server" Width="48px" Text="查询" BackColor="ActiveBorder" Height="24"></asp:button></td> <td><input type="button" name="gomain" value="返回主页" alt="返回主页"></td> </tr> </table> </td> </tr> <tr> <td align="center" height="20"><asp:label id="metername" Runat="server"></asp:label></td> </tr> <tr vAlign="top" height="100%"> <td vAlign="top"><asp:table id="myTable" Width="100%" Height="100%" Runat="server" CellPadding="5" CellSpacing="0" GridLines="Both"></asp:table></td> </tr> <tr> <td><asp:label id="lbl_error" runat="server" ForeColor="Red"></asp:label></td> <td></td> <td></td> </tr> </table> </form> </body></HTML> 如何根据checkbox快速获取对应label的文本 周未拉,又问一个问题,怎么追加函数? Jquery获得对象问题,找不到对象 如何修改样式 javascript可以编写一个继承div的对象吗? fckeditor 怎么去掉里面的各个提示框中的上传标签 js 文件默认编码是什么? 找人帮忙写一段图片渐显js代码 关于event的难题! 下拉选择Selectivity.js的传值问题 meizz(梅花雪 封闭开发中)进来拿分 iframe显示问题
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="../cs/main.css" type="text/css" rel="stylesheet">
</HEAD>
<style>
.agetime_bar { BORDER-RIGHT: 1px outset; BORDER-TOP: 1px outset; Z-INDEX: 98; LEFT: 0px; BORDER-LEFT: 1px outset; WIDTH: 100%; BORDER-BOTTOM: 1px outset; POSITION: absolute; TOP: 0px; HEIGHT: 22px; BACKGROUND-COLOR: rgb(212,208,200) }
.agetime_barItem { BORDER-RIGHT: rgb(212,208,200) 0px solid; BORDER-TOP: rgb(212,208,200) 0px solid; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BACKGROUND: rgb(212,208,200); BORDER-LEFT: rgb(212,208,200) 0px solid; WIDTH: 70px; COLOR: #000000; BORDER-BOTTOM: rgb(212,208,200) 0px solid; HEIGHT: 20px; TEXT-ALIGN: left }
.agetime_barItemDown { BORDER-RIGHT: rgb(212,208,200) 0px inset; BORDER-TOP: rgb(212,208,200) 0px inset; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BACKGROUND: #f0f0f0; BORDER-LEFT: rgb(212,208,200) 0px inset; WIDTH: 70px; COLOR: #000000; BORDER-BOTTOM: rgb(212,208,200) 0px inset; HEIGHT: 20px; TEXT-ALIGN: left }
.agetime_barItemHover { BORDER-RIGHT: 1px outset; BORDER-TOP: 1px outset; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BACKGROUND: #f0f0f0; BORDER-LEFT: 1px outset; WIDTH: 70px; COLOR: #000000; BORDER-BOTTOM: 1px outset; HEIGHT: 20px; TEXT-ALIGN: left }
.agetime_pad { FONT-SIZE: 9pt; WIDTH: 100%; CURSOR: default }
.agetime_padItem { BORDER-RIGHT: rgb(212,208,200) 1px solid; BORDER-TOP: rgb(212,208,200) 1px solid; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BACKGROUND: rgb(212,208,200); BORDER-LEFT: rgb(212,208,200) 1px solid; WIDTH: 100%; COLOR: #000000; BORDER-BOTTOM: rgb(212,208,200) 1px solid; HEIGHT: 18px; TEXT-ALIGN: left }
.agetime_padItemFalse { PADDING-LEFT: 10px; FONT-SIZE: 9pt; COLOR: #808080 }
.agetime_padItemFalseHover { PADDING-LEFT: 10px; FONT-SIZE: 9pt; COLOR: #808080; BACKGROUND-COLOR: #333366 }
.agetime_padItemHover { PADDING-LEFT: 10px; FONT-SIZE: 9pt; WIDTH: 100%; COLOR: #ffffff; HEIGHT: 18px; BACKGROUND-COLOR: #333366; TEXT-ALIGN: left }
.agetime_padItemDown { BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset; PADDING-LEFT: 10px; FONT-SIZE: 9pt; BORDER-LEFT: 1px inset; WIDTH: 100%; COLOR: #ffffff; BORDER-BOTTOM: 1px inset; HEIGHT: 18px; BACKGROUND-COLOR: #9999cc; TEXT-ALIGN: left }
.agetime_hr { BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset; BORDER-LEFT: 1px inset; BORDER-BOTTOM: 1px inset }
.agetime_board { BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset; BACKGROUND-COLOR: rgb(212,208,200) }
</style>
<script language="vbscript">
sub gomain_onclick
parent.location.href="http://10.0.2.7/epp/default.htm"
end sub
</script>
<script language="javascript">
var menu = agetimeMenu("agetime",
[
[
["1#机组",null,null,true,"1#机组"]
],
[
["2#机组",null,null,true,"2#机组"]
],
[
["3#机组",null,null,true,"3#机组"]
],
[
["4#机组",null,null,true,"4#机组"]
],
[
["5#机组",null,null,true,"5#机组"]
],
[
["6#机组",null,null,true,"6#机组"]
],
[
["7#机组",null,null,true,"7#机组"]
],
[
["系统导航",null,null,true,"系统导航"], //显示文字,方法,命令,状态,状栏显示文字
["实时数据",null,"../newrealdata/mainrealdata.aspx",true,"实时数据"],
["单表电量",null,"../query/ShujuQuery.aspx",true,"单表电量"],
["多表电量",null,"../dlcx/dlcx.aspx",true,"多表电量"],
["厂发电量",null,"../cfdl/cfdl.aspx",true,"厂发电量"],
["生产用电",null,"../newpage/scyd.aspx",true,"生产用电"],
["报警信息",null,"../alarm/alarmtable.aspx",true,"报警信息"],
["首页",null,"../default.htm",true,"首页"]
]
]
);
//方法为"js"时,命令则为javascript语句,为非"js"值时,命令则是一个URL,而打开这个URL的目标位置则是方法所指定的窗口;
//["你好","js","alert('Hello'),true,"一声问候"];
//显示文字为"--"是按钮是一个分隔符; function agetimeMenu(id,array){
var menu=this;
menu.pad=null; //装载各个子菜单
menu.barItems=[]; //菜单条的各位按钮
menu.pads=[]; //每个子菜单为一个table存放于menu.pad上;
menu.selectedIndex=-1; //菜单条选中按钮的索引值
menu.board=null; //子菜单面板 //建立菜单条
this.crtMenuBar=function(){
var len=array.length;
menu.bar = document.body.appendChild(document.createElement('div'));
menu.bar.className=id+"_bar";
for(var i=0;i<len;i++){
menu.barItems[i]=menu.addMenuBarItem(array[i][0],i);
menu.addMenuPad(array[i],i);
}
} //子菜单
this.addMenuPad=function(ary,index){
var len=ary.length;
var pad=menu.crtElement("table",menu.pad);
pad.cellSpacing=1; pad.cellPadding=0;
pad.className=id+"_pad";
pad.style.display="none";
for(var i=1;i<len;i++){
var Row=pad.insertRow(i-1);
menu.addMenuPadItem(ary[i],Row);
}
menu.pads[index]=pad;
} //各子菜单按钮
this.addMenuPadItem=function(ary,Row){
var Cell=Row.insertCell(0);
if(ary[0]!="--"){
Cell.innerText=ary[0];
if(ary[3]){ //有效状态;
Cell.className=id+"_padItem";
Cell.onmouseover=function(){
Cell.className=id+"_padItemHover";
window.status=ary[4];
}
Cell.onmouseout=function(){
Cell.className=id+"_padItem";
window.status="";
}
Cell.onmousedown=function(){ Cell.className=id+"_padItemDown"; }
Cell.onmouseup=function(){
Cell.className=id+"_padItemHover";
menu.hideMenu();
menu.execute(ary);
}
}
else{ //按钮无效;
Cell.className=id+"_padItemFalse";
Cell.onmouseover=function(){
Cell.className=id+"_padItemFalseHover";
window.status=ary[4];
}
Cell.onmouseout=function(){
Cell.className=id+"_padItemFalse";
window.status="";
}
}
}
else{
var hr=menu.crtElement("hr",Cell);
hr.className=id+"_hr";
}
Cell.onclick=function(){
event.cancelBubble=true;
}
} //菜单条的按钮
this.addMenuBarItem=function(ary,index){
var item=menu.crtElement("button",menu.bar);
item.value=ary[0];
item.disabled=!ary[3];
item.className=id+"_barItem";
item.onmouseover=function(){
if(menu.selectedIndex==-1){
item.className=id+"_barItemHover";
}
else{
menu.barItems[selectedIndex].className=id+"_barItem";
item.className=id+"_barItemDown";
menu.showMenu(index);
}
window.status=ary[4];
}
item.onmouseout=function(){
if(menu.selectedIndex==-1) item.className=id+"_barItem";
window.status="";
}
item.onclick=function(){
event.cancelBubble=true;
if(menu.selectedIndex==-1){
item.className=id+"_barItemDown";
menu.showMenu(index);
}
else{
menu.hideMenu();
item.className=id+"_barItemHover";
}
menu.execute(ary);
item.blur();
}
return item;
} //显示子菜单
this.showMenu=function(index){
if(menu.selectedIndex!=-1) menu.pads[selectedIndex].style.display="none";
menu.board.style.pixelLeft=menu.barItems[index].offsetLeft+2;
//menu.board.style.pixelHeight="";
if(menu.pads[index].rows.length>0) menu.board.style.display="";
else menu.board.style.display="none";
menu.pads[index].style.display="";
menu.selectedIndex=index;
}
//隐藏子菜单
this.hideMenu=function(){
if(menu.selectedIndex==-1) return;
menu.barItems[menu.selectedIndex].className=id+"_barItem";
menu.pads[selectedIndex].style.display="none";
menu.selectedIndex=-1;
menu.board.style.display="none";
} //执行菜单命令;
this.execute=function(ary){
if(ary[2]==null) return;
if(ary[1]=="js") { eval(ary[2]); menu.hideMenu(); }
else if(ary[1]==null || ary[1].toLowerCase=="_self") location.href=ary[2];
else{ var x=window.open(ary[2],ary[1]); x.focus(); }
} //建立子菜单的显示面板
this.crtMenuBoard=function(){
document.write(
"<div id='"+id+"_board' style='position:absolute;width:160px;height:10px;left:0px;top:20px;background-color:#666666;z-index:99;display:none;'>"+
"<div style='position:absolute;width:100%;height:100%;left:0px;top:0px;'>"+
"<iframe id='"+id+"_frame' name='"+id+"_frame' width='100%' height='100%' frameborder='0' scrolling='no'></iframe>"+
"</div>"+
"<div id='"+id+"_pad' style='position:absolute;width:100%;height:100%;left:0px;top:0px;'></div>"+
"</div>"
);
menu.board=document.getElementById(id+"_board");
menu.pad=document.getElementById(id+"_pad");
menu.pad.className=id+"_board";
menu.pad.onselectstart=function(){ return false;}
} //增加对像的一个子元素
this.crtElement=function(el,p){
return p.appendChild(document.createElement(el));
} //安装菜单;
this.setup=function(){
menu.crtMenuBoard();
menu.crtMenuBar();
document.attachEvent("onclick",menu.hideMenu);
} menu.setup();
}
</script>
<table style="LEFT: 0px; POSITION: absolute; TOP: 22px" height="100%" cellSpacing="5" cellPadding="0"
width="100%" border="0">
<tr>
<td class="ts1" vAlign="middle" height="30">
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td>查询</td>
<td><asp:dropdownlist id="ddl_querytype" runat="server" Width="72px">
<asp:ListItem Value="有功电量" Selected="True">有功电量</asp:ListItem>
<asp:ListItem Value="无功电量">无功电量</asp:ListItem>
</asp:dropdownlist></td>
<td>机组</td>
<td><asp:dropdownlist id="ddl_jizu" Runat="server" AutoPostBack="True"></asp:dropdownlist></td>
<td>电表</td>
<td><asp:dropdownlist id="ddl_meter" Runat="server"></asp:dropdownlist></td>
<td>时间从</td>
<td><EPPWEB:DATETEXTBOX id="datetextboxstart" runat="server"></EPPWEB:DATETEXTBOX></td>
<td>到</td>
<td><EPPWEB:DATETEXTBOX id="datetextboxend" runat="server"></EPPWEB:DATETEXTBOX></td>
<td>单位</td>
<td><asp:DropDownList ID="ddl_danwei" Runat="server">
<asp:ListItem Value="万千瓦时">万千瓦时</asp:ListItem>
<asp:ListItem Value="兆千瓦时">兆千瓦时</asp:ListItem>
<asp:ListItem Value="千瓦时" Selected="True">千瓦时</asp:ListItem>
</asp:DropDownList></td>
<td><asp:button id="ButtonRetrieve" runat="server" Width="48px" Text="查询" BackColor="ActiveBorder"
Height="24"></asp:button></td>
<td><input type="button" name="gomain" value="返回主页" alt="返回主页"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" height="20"><asp:label id="metername" Runat="server"></asp:label></td>
</tr>
<tr vAlign="top" height="100%">
<td vAlign="top"><asp:table id="myTable" Width="100%" Height="100%" Runat="server" CellPadding="5" CellSpacing="0"
GridLines="Both"></asp:table></td>
</tr>
<tr>
<td><asp:label id="lbl_error" runat="server" ForeColor="Red"></asp:label></td>
<td></td>
<td></td>
</tr>
</table>
</form>
</body>
</HTML>