<%@ page autoeventwireup="true" debug="true" inherits="_tbl_paper, App_Web_y-mubyy6" language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>试卷管理</title>
<link href="../css/StyleSheet.css" rel="stylesheet" type="text/css" />
<link href="../css/GridView.css" rel="stylesheet" />
<link href="../css/main.css" rel="stylesheet" type="text/css" />
  <link href="../css/pager.css" rel="stylesheet" type="text/css" />
<script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="../jquery-1.5.js" type="text/javascript"></script>
<link href="../window/_css/window.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../window/message/jquery.message.js" type="text/javascript"></script>
<script language="javascript" src="../window/jquery/jquery.min.js" type="text/javascript"></script>
<script language="javascript" src="../window/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script language="javascript" src="../window/jquery.bgiframe.pack.js" type="text/javascript"></script>
<link href="../window/_css/jqueryui/blitzer/jquery-ui-1.8.12.custom.css" rel="stylesheet" type="text/css" />
<link href="../alert/jquery.alert.css" rel="stylesheet" type="text/css" />
<script src="../alert/jquery.easydrag.js" type="text/javascript"></script>
<script src="../alert/jquery.alert.js" type="text/javascript"></script>



<script language="javascript" type="text/javascript">   
function   isnum() 
{
if(event.keyCode <48   ||   event.keyCode> 57) 
{
event.keyCode=0;
}
}
$(function(){
$("#div_win").dialog({
autoOpen:false,
modal: false,
width:720,
height:430,
bigframe:true
});
$("#div1").dialog({
autoOpen:false,
modal: true,
width:600,
height:320,
bigframe:true
});
$("#div_4").dialog({
autoOpen:false,
modal: true,
width:250,
height:300,
bigframe:true
});



$('#div_win').bind('dialogbeforeclose', function(event, ui) {

var IsShow=document.getElementById ("IsShow");

IsShow.value="0";

});

$("#btnAdd").click(function(page){
$("#div_win").dialog({ title: '试卷管理-添加' });
$("#div_win").dialog({ draggable: true,resizable:true });
$("#IsEdit").val("0");
});
$("#btnModify").click(function(page){
$("#div_win").dialog({ title: '试卷管理-修改' });
$("#div_win").dialog({ draggable: true,resizable:true });
});
});
</script>
<script language="JavaScript" type="text/JavaScript">
//-----------------------------------------------------------------------------------
$("#chk_all").click(function() {
$("input[name='chk_list']").attr("checked", $(this).attr("checked"));
});
//全选 
function CheckedAll() {
$(':checkbox').attr('checked', 'checked');
}
//全不选 
function CheckedNo() {
$(':checkbox').attr('checked', '');
var GridView1= document.getElementById("<%=GridView1.ClientID %>");
for(i = 1;i < GridView1.rows.length; i++)
{
GridView1.rows[i].style.backgroundColor='#FFFFFF';
}
}
//反选 
function CheckedRev(objCheckBox, strId) {
var NormalColor = "#fff";
 var AlterColor = "#eee";
var SelectColor = "#ffff99";
var GridView1= document.getElementById("<%=GridView1.ClientID %>");
if (objCheckBox.tagName == "INPUT" && objCheckBox.type == "checkbox") {
var allInput = document.getElementsByTagName("input");
var k=0;
for (var i = 0; i < allInput.length; i++) {
if (allInput[i].type == "checkbox" && allInput[i].id.indexOf(strId) >= 0) {
k=k+1;
if  (allInput[i].disabled==true)
{}
else
{
allInput[i].checked = !allInput[i].checked;
if   ( allInput[i].checked)
{
GridView1.rows[k].style.backgroundColor='#ffff99';
}
else
{
GridView1.rows[k].style.backgroundColor = k % 2 == 0 ? NormalColor : AlterColor;   
}
}
}
}
}
document.getElementById ("chk_all").checked=false;
}
function ChangeAllCheckStatus(objCheckBox, strId) //全选
{
var NormalColor = "#fff";
 var AlterColor = "#eee";
var SelectColor = "#ffff99";
var GridView1= document.getElementById("<%=GridView1.ClientID %>");
if (objCheckBox.tagName == "INPUT" && objCheckBox.type == "checkbox") {
var allInput = document.getElementsByTagName("input");
var k=0;
for (var i = 0; i < allInput.length; i++) {
if (allInput[i].type == "checkbox" && allInput[i].id.indexOf(strId) >= 0) {
k=k+1;
if  (allInput[i].disabled==true)
{
GridView1.rows[k].style.backgroundColor='#FFFFFF';
}
else
{
allInput[i].checked = objCheckBox.checked;
if(objCheckBox.checked)
{
GridView1.rows[k].style.backgroundColor='#ffff99';
}
else
{
GridView1.rows[k].style.backgroundColor = k % 2 == 0 ? NormalColor : AlterColor;
}
}
document.getElementById ("cb3").checked=false;
}
}
}
}
//---------------------------------------------------------------------------------------------------- 
var prevselitem=null;
function selectx(row)
{
if(prevselitem!=null)
{
prevselitem.style.backgroundColor='#ffffff';
}
row.style.backgroundColor='PeachPuff';
prevselitem=row;
}

function l_out(p,m,NormalColor,AlterColor,HoverColor,SelectColor)
{
if (m<10)
{
var ck= document.getElementById("GridView1_ctl0"+m+"_checkbox1");
}
else
{
var ck= document.getElementById("GridView1_ctl"+m+"_checkbox1");
}
p.style.background = m % 2 == 1 ? NormalColor : AlterColor; 
if (ck!=null)if (ck.checked==true)
{
p.style.backgroundColor = SelectColor;
}
else
{
p.style.backgroundColor = m % 2 == 1 ? NormalColor : AlterColor; 
}
}
function l_in(p,m,NormalColor,AlterColor,HoverColor,SelectColor)
{
if (m<10)
{
var ck= document.getElementById("GridView1_ctl0"+m+"_checkbox1");
}
else
{
var ck= document.getElementById("GridView1_ctl"+m+"_checkbox1");
}
if (ck!=null)if (ck.checked==true)
{
p.style.backgroundColor = SelectColor;
}
else
{
p.style.backgroundColor = HoverColor; 
}
}
//--------------------------------------------------------------------------------------
</script>


    <script language="javascript" type="text/javascript">




function choose(s1,s2)
{

var IsShow=document.getElementById ("IsShow");
if (IsShow.value=="1")
{
var t1=document.getElementById ("t_value");
var h1=document.getElementById ("h_value");
var t1_bk=document.getElementById ("t_value_bk");
t1_bk.value=s1;

t1.value=s1;
h1.value=s2;
//---------------------------------------------
}
else if (IsShow.value=="0")
{
var t2=document.getElementById ("t_2");
var h2=document.getElementById ("h_2");
t2.value=s1;
h2.value=s2;
}
$('#div_4').dialog('close');

}

function serch_clear()
{
var t2=document.getElementById ("t_2");
var h2=document.getElementById ("h_2");
t2.value="";
h2.value=""; 

}


    </script>

</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div class="title">
<asp:Label ID="lblList" runat="server" Text="试卷管理"></asp:Label>

</div>
    <asp:Panel ID="btnSerch" runat="server" style="display:inline ">
   
<div class="panel" >

试卷分类：
    <asp:TextBox ID="t_2" runat="server" CssClass="text1" ReadOnly="true"></asp:TextBox>
    <asp:HiddenField ID="h_2" runat="server" />
    <img onclick="$('#div_4').dialog('open');$('#div_4').dialog({ title: '试卷类别-选择' });$('#div_4').dialog({ draggable: true,resizable:true });"
        src="../images/select.gif" style="cursor: pointer;" alt='添加试卷类别' />
  
        <a alt='清空试卷类别' onclick="serch_clear();" style="cursor: pointer; color: Red;">清空</a>
        

试卷类型：<asp:DropDownList ID="p_type" runat="server">
    </asp:DropDownList>
     出题方式：<asp:DropDownList ID="p_chuti" runat="server">
         <asp:ListItem Text="请选择出题方式..." Value=""></asp:ListItem>
         <asp:ListItem Text="固定试卷" Value="固定试卷"></asp:ListItem>
         <asp:ListItem Text="固定随机" Value="固定随机"></asp:ListItem>
         <asp:ListItem Text="随机试卷" Value="随机试卷"></asp:ListItem>
    </asp:DropDownList> 
    试卷名称：
    <asp:TextBox ID="p_name" runat="server" CssClass="text1"></asp:TextBox>
状态：<asp:DropDownList ID="p_state" runat="server">
    <asp:ListItem Text="请选择状态..." Value=""></asp:ListItem>
    <asp:ListItem Text="可用" Value="可用"></asp:ListItem>
    <asp:ListItem Text="作废" Value="作废"></asp:ListItem>
    </asp:DropDownList>

    <asp:Button ID="btnSerch1" runat="server" Text="搜索" OnClick="btnSerch1_Click"  CssClass="button_b"/>

</div>
    </asp:Panel>

<div id="ctl_panel" runat="server" class="panel">
<asp:Button ID="btnAdd" runat="server" class="button_b" OnClick="btnAdd_Click" Text="添加" ToolTip="添加" />
<asp:Button ID="btnModify" runat="server" class="button_b" OnClick="btnModify_Click" Text="修改" ToolTip="修改" />
<asp:Button ID="btnDelete" runat="server" CssClass="button_r" OnClick="LinkButton6_Click" Text="删除" />
    <asp:Button ID="btnOut" runat="server" CssClass="button_g_b" Text="试卷导出" OnClick="btnOut_Click" />
    <asp:Panel ID="chkpanel" runat="server" Style="display: inline">
<input id="chk_all" name="chk_all" onclick="ChangeAllCheckStatus(this,'checkbox1')" type="checkbox" />全选
<input id="cb3" name="btnCheckedRev" onclick="CheckedRev(this,'checkbox1')" type="checkbox" value="反　选" />反 选
    </asp:Panel>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:GridView ID="GridView1"     runat="server" AllowSorting="true" OnSorting="GridView1_Sorting" AutoGenerateColumns="False" CssClass="gv" DataKeyNames="Pap_id" GridLines="Horizontal" OnRowCommand="GridView1_RowCommand" Width="100%">
<RowStyle CssClass="gvRow" />
<HeaderStyle CssClass="gvHeader" />
<AlternatingRowStyle CssClass="gvAlternatingRow" />
<Columns>
<asp:TemplateField HeaderText="选">
<HeaderStyle Width="50px"  HorizontalAlign ="Center" />
<ItemStyle Width="50px" HorizontalAlign ="Center"  Wrap="false"  />
<ItemTemplate>
<asp:CheckBox ID="checkbox1" runat="server" />
<asp:HiddenField ID="Pap_id" runat="server" Value='<%# Eval("Pap_id") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField  SortExpression="Paper_no"   DataField="Paper_no" HeaderText="试卷编号" ItemStyle-HorizontalAlign="Center" >
</asp:BoundField>

    <asp:BoundField DataField="Lid_name" HeaderText="考试类别" ItemStyle-HorizontalAlign="Center"
        SortExpression="Lid_name" />

<asp:BoundField DataField="Paptypename" HeaderText="试卷类型" ItemStyle-HorizontalAlign="Center"
    SortExpression="Paptypename" />
    <asp:BoundField DataField="Pap_chuti" HeaderText="出题方式" ItemStyle-HorizontalAlign="Center"
        SortExpression="Pap_chuti" />
    
<%--<asp:BoundField  SortExpression="Paper_name"   DataField="Paper_name" HeaderText="试卷名称" ItemStyle-HorizontalAlign="Center" >
</asp:BoundField>--%>
<asp:TemplateField HeaderText="试卷名称" SortExpression="Paper_name">
<ItemTemplate>
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "tbl_paperview.aspx?pid="+ Eval("Pap_id") %>' Target="_blank"  
        Text='<%# Eval("Paper_name") %>'></asp:HyperLink>
</ItemTemplate>

</asp:TemplateField>




<asp:TemplateField HeaderText="试卷总分">
<ItemTemplate>
    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
</ItemTemplate>

</asp:TemplateField>

<%--<asp:BoundField SortExpression="Paper_allscores"   DataField="Paper_allscores" HeaderText="试卷总分" ItemStyle-HorizontalAlign="Center" >
</asp:BoundField>--%>
<%--<asp:BoundField DataField="Subject_name" HeaderText="试卷领域" ItemStyle-HorizontalAlign="Center"
    SortExpression="Subject_name" />--%>
<%--<asp:BoundField SortExpression="Pap_Topic_easy"   DataField="Pap_Topic_easy" HeaderText="容易题比例" ItemStyle-HorizontalAlign="Center" >
</asp:BoundField>
<asp:BoundField SortExpression="Pap_Topic_medium"   DataField="Pap_Topic_medium" HeaderText="中等题比例" ItemStyle-HorizontalAlign="Center" >
</asp:BoundField>
<asp:BoundField SortExpression="Pap_Topic_difficult"   DataField="Pap_Topic_difficult" HeaderText="困难题比例" ItemStyle-HorizontalAlign="Center" >
</asp:BoundField>--%>



<asp:BoundField  SortExpression="Pap_state"   DataField="Pap_state" HeaderText="状态" ItemStyle-HorizontalAlign="Center" >
</asp:BoundField>
<asp:BoundField  SortExpression="Pap_CreatTime"       DataFormatString="{0:yyyy-MM-dd hh:mm:ss  }"   HtmlEncode="False" DataField="Pap_CreatTime" HeaderText="创建时间" ItemStyle-HorizontalAlign="Center" >
</asp:BoundField>
<asp:TemplateField HeaderText="操作">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
    <asp:Button ID="btn_type"     runat="server" CommandArgument='<%#  Eval("Pap_id") %>'
        CommandName="paper_type" CssClass="button_r_b"   BackColor="Red" Text="题型管理"></asp:Button>
</td>
<td>
    <asp:Button ID="btn_look" runat="server" BackColor="LightSkyBlue" CommandArgument='<%#  Eval("Pap_id") %>'
        CommandName="paper_look" CssClass="button_b_s" Text="查看"></asp:Button>
</td>
<td>
    <asp:Button ID="btn_modf" runat="server"  BackColor="YellowGreen"    CommandArgument='<%#  Eval("Pap_id") %>'
        CommandName="paper_modf" CssClass="button_g_s" Text="修改"></asp:Button>
</td>
<td>
    <asp:Button ID="btn_dell" runat="server" BackColor="Red" CommandArgument='<%#  Eval("Pap_id") %>'
        CommandName="paper_dell" CssClass="button_r_s" Text="删除"></asp:Button>
</td>
</tr>
</table>

</ItemTemplate>
</asp:TemplateField>

</Columns>
</asp:GridView>
<asp:Panel ID="Panel1" runat="server" Visible="false" Width="100%">
<div class="paginator">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<webdiyer:aspnetpager id="PagerButtom" runat="server" alwaysshow="True" bordercolor="Aqua"
cssclass="paginator" custominfoclass="" custominfohtml="当前第%CurrentPageIndex%/%PageCount%页 共%RecordCount%条记录 每页%PageSize%条 "
custominfosectionwidth="" firstpagetext="首页" horizontalalign="Right" lastpagetext="尾页"
layouttype="Table" morebuttonsclass="" nextpagetext="下一页" numericbuttoncount="10"
onpagechanged="Pager_PageChanged" pageindexboxclass="cpb" pagesize="20" prevpagetext="上一页"
showcustominfosection="Right" showpageindexbox="Always">
</webdiyer:aspnetpager>
</td>
</tr>
</table>
</div>
</asp:Panel>
<asp:HiddenField ID="IsEdit" runat="server" />
<asp:HiddenField ID="modify" runat="server" />
 
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnModify" />
<asp:AsyncPostBackTrigger ControlID="btnDelete" />
    

</Triggers>
</asp:UpdatePanel>
   
<div id="div_win" style="display: none">
<iframe frameborder="0" src="about:blank" style="position: absolute; z-index: -1; width: 100%; height: 100%; top: 0; left: 0;"></iframe>
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
    <asp:HiddenField ID="IsShow"  Value="0" runat="server" />
<table border="0" cellpadding="0" cellspacing="0" class="table" width="100%">
    <tr >
        <td align="right" style="width: 130px">
            试卷领域：
        </td>
        <td align="left">
            <asp:DropDownList ID="Pap_Sub_id" Visible="false"  runat="server" Width="163"  style="display:none; ">
            </asp:DropDownList>
            <asp:TextBox ID="t_value" runat="server" CssClass="text1" ReadOnly="true" Text=""></asp:TextBox>
            <asp:HiddenField ID="t_value_bk" runat="server" />
            <asp:HiddenField ID="h_value" runat="server" Value="0" />
            <img onclick="$('#div_4').dialog('open');$('#div_4').dialog({ title: '试卷领域-选择' });$('#div_4').dialog({ draggable: true,resizable:true });"
                src="../images/select.gif" style="cursor: pointer;" />
           
            
        </td>
    </tr>

<tr>
<td align="right" style="width: 130px" class="line">
试卷编号：
</td>
<td align="left"  class="line" >
<asp:TextBox ID="Paper_no" runat="server" CssClass="text1" Width="158"></asp:TextBox>
</td>
</tr>
   
<tr>
<td align="right"  style="width: 130px">
试卷类型：
</td>
<td align="left" >

    <asp:DropDownList ID="Pap_type" runat="server" Width="163">
    </asp:DropDownList>

</td>
</tr>

    <tr>
        <td align="right" class="line" style="width: 130px">
            出题方式：
        </td>
        <td align="left" class="line">
            <asp:DropDownList ID="Pap_chuti" runat="server" Width="163" >
            <asp:ListItem  Text="请选择出题方式..." Value=""></asp:ListItem>
                <asp:ListItem Text="固定试卷" Value="固定试卷"></asp:ListItem>
                <asp:ListItem Text="固定随机" Value="固定随机"></asp:ListItem>
                <asp:ListItem Text="随机试卷" Value="随机试卷"></asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
<tr>
<td align="right" style="width: 130px" >
试卷名称：
</td>
<td align="left"   >
<asp:TextBox ID="Paper_name" runat="server" CssClass="text1" Width="258"></asp:TextBox>
</td>
</tr>
<tr style=" display:none ">
<td align="right" class="line" style="width: 130px">
试卷总分：
</td>
<td align="left" class="line">
<asp:TextBox ID="Paper_allscores" runat="server" Text="0" CssClass="text1" onkeyup="value=value.replace(/[^\d]/g,'')"
    Width="158"></asp:TextBox>
</td>
</tr>
    

<tr style="display:none">
<td align="right" class="line" style="width: 130px">
容易题比例：
</td>
<td align="left" class="line">
<asp:TextBox ID="Pap_Topic_easy" runat="server" onkeyup="value=value.replace(/[^\d]/g,'')"
    Width="158"></asp:TextBox>
</td>
</tr>
<tr style="display: none">
<td align="right" style="width: 130px" >
中等题比例：
</td>
<td align="left"  >
<asp:TextBox ID="Pap_Topic_medium" runat="server" onkeyup="value=value.replace(/[^\d]/g,'')"
    Width="158"></asp:TextBox>
</td>
</tr>
<tr style="display: none">
<td align="right" class="line" style="width: 130px; height: 44px;">
困难题比例：
</td>
<td align="left" class="line" style="height: 44px">
<asp:TextBox ID="Pap_Topic_difficult" runat="server" onkeyup="value=value.replace(/[^\d]/g,'')"
    Width="158"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" class="line" style="width: 130px">
状态：
</td>
<td align="left" class="line">
<%--<asp:TextBox ID="Pap_state" runat="server" Width="158"></asp:TextBox>--%>
    <asp:DropDownList ID="Pap_state" runat="server" Width="163">
        <asp:ListItem Text="可用" Value="可用"></asp:ListItem>
        <asp:ListItem Text="作废" Value="作废"></asp:ListItem>
    </asp:DropDownList>

</td>
</tr>
<tr>
<td align="right"  style="width: 130px">
创建时间：
</td>
<td align="left" >
<asp:TextBox CssClass="Wdate" onclick="WdatePicker({el:this,dateFmt:'yyyy-MM-dd HH:mm:ss'})" onkeypress="event.returnValue=false;"    ID="Pap_CreatTime" runat="server" Width="158"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" class="line">
试卷说明：
</td>
<td align="left" class="line">
    <asp:TextBox ID="Pap_Detail" runat="server" CssClass="text1" Width="580px" Rows="6" TextMode="MultiLine"></asp:TextBox>
</td>
</tr>


</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnAdd" EventName="click" />
<asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnSerch1"/></Triggers>
</asp:UpdatePanel>
<div class="panel" style="padding-left: 130px; width: 80%">
<asp:Button ID="Button1" runat="server" CssClass="button_r" OnClick="LinkButton1_Click" Text="确 定" />
<asp:Button ID="Button2" runat="server" CssClass="button_g" OnClick="LinkButton2_Click" Text="取 消" />
</div>
</div>




    <div id="div1" style="display: none">
        <iframe frameborder="0" src="about:blank" style="position: absolute; z-index: -1;
            width: 100%; height: 100%; top: 0; left: 0;"></iframe>
        <div>
        
            <asp:UpdatePanel ID="UpdatePanel3" runat="server">
            <ContentTemplate >
            
          
            <table border="0" cellpadding="0" cellspacing="0" class="table" width="100%">
                <tr>
                    <td align="right" class="line" style="width: 130px; height:25px" >
                        试卷编号：
                    </td>
                    <td align="left" class="line" style="height:25px" height="20px">
                        <asp:Label ID="l_bh" runat="server" Text="545"></asp:Label>
                    </td>
                </tr>
                <tr   style="display:none " >
                    <td align="right" style="width: 130px; height: 25px">
                        科目表主键：
                    </td>
                    <td align="left" style="height: 25px">
                        <asp:Label ID="l_kemu" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right"  style="width: 130px; height: 25px">
                        试卷类型：
                    </td>
                    <td align="left"  style="height: 25px">
                        <asp:Label ID="l_type" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="line" style="width: 130px; height: 25px">
                        出题方式：
                    </td>
                    <td align="left" class="line" style="height: 25px">
                        <asp:Label ID="l_chuti" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right"  style="width: 130px; height: 25px">
                        试卷名称：
                    </td>
                    <td align="left"  style="height: 25px">
                        <asp:Label ID="l_name" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="line" style="width: 130px; height: 25px">
                        试卷总分：
                    </td>
                    <td align="left" class="line" style="height: 25px">
                        <asp:Label ID="l_score" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right"  style="width: 130px; height: 25px">
                        状态：
                    </td>
                    <td align="left"  style="height: 25px">
                        <asp:Label ID="l_state" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="line" style="width: 130px; height: 25px">
                        创建时间：
                    </td>
                    <td align="left" class="line" style="height: 25px">
                        <asp:Label ID="l_time" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right"  style="height: 25px">
                        试卷说明：
                    </td>
                    <td align="left"  style="height: 25px">
                        <asp:Label ID="l_detail" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
            </table>
            </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="GridView1" />
                </Triggers>
            </asp:UpdatePanel>
        </div>
    </div>
    <div id="div_4" style="display: none">
        <iframe frameborder="0" src="about:blank" style="position: absolute; z-index: -1;
            width: 100%; height: 100%; top: 0; left: 0;"></iframe>
            
            
            
       <table border="0" cellpadding="0" cellspacing="0" >
      
     <tr>
       <td>
           <asp:TreeView ID="TreeView1" runat="server" CollapseImageUrl="~/images/folder.gif"
               ExpandImageUrl="~/images/folder-closed.gif" NoExpandImageUrl="~/images/file.gif">
           </asp:TreeView> 
       </td>
       </tr>
       
       </table>     
      
       
       
    </div>
    
</form>
<asp:Label ID="lb_pageid" runat="server" Text="" Visible="false"></asp:Label>
<asp:Label ID="recordcount" runat="server" Visible="false"></asp:Label>
<asp:Label ID="page_indexpage" runat="server" Text="1" Visible="false"></asp:Label>
<asp:Label ID="page_count" runat="server" Text="0" Visible="false"></asp:Label>

<asp:Label ID="l2" runat="server" ></asp:Label>


</body>
</html>
