<%@ page language="C#" autoeventwireup="true" inherits="mimawenti, putonggan_deploy" %>

<!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 runat="server">
    <title></title>
         <style type="text/css">

.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
        
        a:link                       {font-size: 9pt;color: #2F6589; text-decoration: none;}
         .style7
         {
             color: #03515d;
             font-size: 12px;
             width: 373px;
         }
             .style9
             {
                 width: 163px;
             }
             .style11
             {
                 width: 338px;
             }
             .style12
             {
                 margin-left: 0px;
             }
             </style>
    <link href="../css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td background="../images/tab_05.gif" height="30">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td height="30" width="12">
                                <img height="30" src="../images/tab_03.gif" width="12" /></td>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td valign="middle" width="46%">
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td width="5%">
                                                        <div align="center">
                                                            <img height="16" src="../images/tb.gif" width="16" /></div>
                                                    </td>
                                                    <td class="STYLE1" width="95%">
                                                        <span class="STYLE3">你当前的位置</span>：[<span lang="zh-cn">系统管理</span>]-[<span 
                                                            lang="zh-cn">问题列表</span>]</td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="54%">
                                            <table align="right" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td class="STYLE1" width="60">
                                                        <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" 
                                                            oncheckedchanged="CheckBox2_CheckedChanged" Text="全选" />
                                                    </td>
                                                    <td width="52">
                                                        <table border="0" cellpadding="0" cellspacing="0" width="88%">
                                                            <tr>
                                                                <td class="STYLE1">
                                                                    <div align="center">
                                                                        <img height="14" src="../images/11.gif" width="14" /></div>
                                                                </td>
                                                                <td class="STYLE1">
                                                                    <div align="center">
                                                                        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">删除</asp:LinkButton>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td width="16">
                                <img height="30" src="../images/tab_07.gif" width="16" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td background="../images/tab_12.gif" width="8">&nbsp;
                                </td>
                            <td>
                                <div>
                                    <table class="STYLE1" align="center">
                                        <tr>
                                            <td>编号</td>
                                            <td class="style9">
                                                <asp:TextBox ID="bianhao" runat="server" CssClass="style12" Width="76px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                                    ControlToValidate="bianhao" ErrorMessage="编号必须为数字" ValidationGroup="gr"></asp:RequiredFieldValidator>
                                            </td>
                                            <td>
                                                <span lang="zh-cn">问&nbsp;&nbsp;&nbsp;&nbsp; 题</span></td>
                                            <td class="style11">
                                                <asp:TextBox ID="wenti" runat="server" Width="245px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                    ControlToValidate="wenti" ErrorMessage="问题不能为空！" ValidationGroup="gr"></asp:RequiredFieldValidator>
                                            </td>
                                            <td align="center">
                                                <asp:Button ID="Button1" runat="server" Text="添加" onclick="Button1_Click" 
                                                    ValidationGroup="gr" />
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                        AutoGenerateColumns="False" CssClass="GridViewStyle" OnRowCancelingEdit="GridView1_RowCancelingEdit" 
            OnRowEditing="GridView1_RowEditing" 
            OnRowUpdating="GridView1_RowUpdating"  
                                        EmptyDataText="没有或没有符合条件的问题信息！" Font-Size="Small" 
                                        Width="100%">
                                        <Columns>
                                            <asp:TemplateField HeaderText="全选">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="CheckBox1" runat="server" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="id" HeaderText="ID" InsertVisible="False" 
                                                ReadOnly="True" />
                                            <asp:BoundField DataField="bianhao" HeaderText="编号" />
                                            <asp:BoundField DataField="wenti" HeaderText="问题名称" />
                                            <asp:CommandField HeaderText="操作" ShowDeleteButton="True" ShowHeader="True" 
                                                ShowEditButton="True" />
                                        </Columns>
                                        <HeaderStyle CssClass="HeaderStyle" />
                                        <PagerStyle CssClass="PagerStyle" />
                                        <RowStyle CssClass="RowStyle" />
                                        <PagerSettings Visible="false" />
                                    </asp:GridView>
                                </div>
                            </td>
                            <td background="../images/tab_15.gif" width="8">&nbsp;
                                </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td background="../images/tab_19.gif" height="35">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td height="35" width="12">
                                <img height="35" src="../images/tab_18.gif" width="12" /></td>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td class="style7">
                                            &nbsp;&nbsp;<asp:Label ID="LblRecordCount" runat="server"></asp:Label>
                                            <span lang="zh-cn">每页<asp:DropDownList ID="pgsize" runat="server" 
                                                AutoPostBack="True" onselectedindexchanged="pgsize_SelectedIndexChanged">
                                                <asp:ListItem>10</asp:ListItem>
                                                <asp:ListItem>15</asp:ListItem>
                                                <asp:ListItem Selected="True">20</asp:ListItem>
                                                <asp:ListItem>30</asp:ListItem>
                                                <asp:ListItem>40</asp:ListItem>
                                                <asp:ListItem>50</asp:ListItem>
                                                <asp:ListItem>100</asp:ListItem>
                                                <asp:ListItem>150</asp:ListItem>
                                                <asp:ListItem>200</asp:ListItem>
                                                <asp:ListItem>300</asp:ListItem>
                                                <asp:ListItem>400</asp:ListItem>
                                                <asp:ListItem>500</asp:ListItem>
                                            </asp:DropDownList>
                                            条</span><asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
                                            <asp:Label ID="LblPageCount" runat="server"></asp:Label>
                                        </td>
                                        <td class="STYLE4">
                                            <asp:LinkButton ID="btnFirst" runat="server" CommandArgument="first" 
                                                OnClick="PagerButtonClick">首 页</asp:LinkButton>
                                            &nbsp;<asp:LinkButton ID="btnPrev" runat="server" CommandArgument="prev" 
                                                OnClick="PagerButtonClick">上一页</asp:LinkButton>
                                            <asp:LinkButton ID="btnNext" runat="server" CommandArgument="next" 
                                                OnClick="PagerButtonClick">下一页</asp:LinkButton>
                                            <asp:LinkButton ID="btnLast" runat="server" CommandArgument="last" 
                                                OnClick="PagerButtonClick">尾 页</asp:LinkButton>
                                            跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" 
                                                OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                                            </asp:DropDownList>
                                            页</td>
                                    </tr>
                                </table>
                            </td>
                            <td width="16">
                                <img height="35" src="../images/tab_20.gif" width="16" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
