<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="kemutongji.aspx.cs" Inherits="jiaowu.tongji.kemutongji" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/table.css" rel="stylesheet" type="text/css" />
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="place">
        <asp:SiteMapPath ID="SiteMapPath1" runat="server" Width="323px">
        </asp:SiteMapPath>
    </div>
    <table border="1" align="center" bordercolor="#D2ECFC"  
            style="border-collapse:collapse " width="100%" class="line_table">
        <tr >
          <td> 报名时间：<asp:TextBox ID="txtbaoming1" runat="server" onfocus="WdatePicker()"></asp:TextBox>至<asp:TextBox ID="txtbaoming2" runat="server" onfocus="WdatePicker()"></asp:TextBox>
                        <asp:Button ID="Button1" runat="server" Text="搜索" />
            </td>
        </tr>
        
        <tr >
          <td class="style1"> 
          <%System.Data.DataTable tbx = SqlHelper.dataTable("select * from fenxiao order by bianhao asc");
               %>
              <table class="style1">
                  <tr>
                      <td>
                          校区</td>
                      <td>未开始</td>
                      <td>
                          科一预约</td>
                      <td>
                          科一补考</td>
                      <td>
                          科一通过</td>
                      <td>
                          科二预约</td>
                      <td>
                          科二补考</td>
                      <td>
                          科二通过</td>
                      <td>
                          科三预约</td>
                      <td>
                          科三补考</td>
                      <td>
                          科三通过</td>
                      <td>
                          科四预约</td>
                      <td>
                          科四补考</td>
                      <td>
                          科四通过</td>
                      <td>
                          发证</td>
                      <td>
                          合计</td>
                  </tr>
                  <%for (int i = 0; i < tbx.Rows.Count; i++)
                    { %>
                  <tr>
                      <td>
                          <%=tbx.Rows[i]["fenxiao"].ToString() %></td>
                          
                      <td>
                        <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "0", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                       <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "10", txtbaoming1.Text, txtbaoming1.Text)%>
                          </td>
                          
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "11", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "12", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                        <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "20", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "21", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "22", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "30", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "31", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "32", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "40", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "41", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "42", txtbaoming1.Text, txtbaoming1.Text)%></td>
                          
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(), "50", txtbaoming1.Text, txtbaoming1.Text)%></td>
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu(tbx.Rows[i]["id"].ToString(),"", txtbaoming1.Text, txtbaoming1.Text)%></td>
                  </tr>
                  <%} %>
                   <tr>
                      <td>
                          合计</td>
                           
                      <td>
                        <%=jiaowu.tongji.kemutongji.baomingshu("", "0", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu("", "10", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu("", "11", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu("", "12", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu("", "20", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu("", "21", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu("", "22", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu("", "30", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu("", "31", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu("", "32", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                         <%=jiaowu.tongji.kemutongji.baomingshu("", "40", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu("", "41", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu("", "42", txtbaoming1.Text, txtbaoming1.Text)%></td>
                           
                      <td>
                          <%=jiaowu.tongji.kemutongji.baomingshu("", "50", txtbaoming1.Text, txtbaoming1.Text)%></td>
                      <td>
                        <%=jiaowu.tongji.kemutongji.baomingshu("", "", txtbaoming1.Text, txtbaoming1.Text)%> </td>
                  </tr>
              </table>
            </td></tr></table></form></body></html>
