<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="UserVote.aspx.cs" Inherits="BiceSurvey.UserVote1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <table height="96%" cellspacing="0" cellpadding="0" width="96%" align="center" border="0">
        <tr>
            <td width="80%" align="left" bgcolor="#f4f4f4">
                &nbsp;<span class="BannerFont">调查用户管理
 
                <asp:Label id="Label4" runat="server" Visible="False" ForeColor="Blue">该功能正在开发中 ...</asp:Label>
                </span>
            </td>
            <td valign="middle" bgcolor="#f4f4f4">
                <asp:Label id="Label3" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center" valign="top" bgcolor="#f4f4f4">
                <asp:DataGrid id="DataGrid1" runat="server" AutoGenerateColumns="False" 
                                Width="96%" BorderWidth="1px" onitemcommand="DataGrid1_ItemCommand">
                    <AlternatingItemStyle BackColor="#F9F9FF"></AlternatingItemStyle>
                    <ItemStyle Height="25px"></ItemStyle>
                    <HeaderStyle HorizontalAlign="Center" Height="30px" BackColor="AliceBlue">
                    </HeaderStyle>
                    <Columns>
                        <asp:BoundColumn Visible="False" DataField="N_UserId" HeaderText="用户编号">
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="C_UserName" HeaderText="用户名"></asp:BoundColumn>
                        <asp:BoundColumn DataField="C_UserPass" HeaderText="用户密码"></asp:BoundColumn>
                        <asp:BoundColumn DataField="C_UserRemark" HeaderText="用户备注"></asp:BoundColumn>
                        <asp:ButtonColumn Text="编辑该用户" HeaderText="编辑用户" CommandName="Edit">
                        </asp:ButtonColumn>
                        <asp:ButtonColumn Text="&lt;div onclick=&quot;JavaScript:return   confirm('删除是不可恢复的,确定删除吗？')&quot;&gt;删除该用户&lt;/div&gt; "
										HeaderText="删除用户" CommandName="Del"></asp:ButtonColumn>
                    </Columns>
                </asp:DataGrid>
                <table width="96%" border="0" runat="server" id="TABLE1">
                    <tr>
                        <td width="25%" align="right">
                            <asp:Label id="Label1" runat="server"></asp:Label>
                            &nbsp;</td>
                        <td width="25%">
                            &nbsp;</td>
                        <td width="25%" align="right">
                            <asp:Label id="Label2" runat="server" Visible="False"></asp:Label>
                            &nbsp;</td>
                        <td width="25%">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td align="right">
                            设置用户名：</td>
                        <td width="25%">
                            <asp:TextBox id="TextBox1" runat="server" Width="150px"></asp:TextBox>
                        </td>
                        <td width="25%" align="right">
                            设置用户密码：</td>
                        <td width="25%">
                            <asp:TextBox id="TextBox2" runat="server" Width="150px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            用户备注：
									 
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="4" align="center">
                            <asp:TextBox id="TextBox3" runat="server" Width="500px" TextMode="MultiLine" Height="100px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            用户权限：
									 
                        </td>
                        <td>
                            &nbsp;</td>
                        <td colspan="2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="4" align="center">
                            <asp:CheckBoxList id="CheckBoxList1" runat="server" DataTextField="C_Title" DataValueField="N_SysId"
											RepeatColumns="2">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" align="center">
                            &nbsp;
										<asp:ImageButton id="ImageButton2" runat="server" ImageUrl="images/submit.gif" onclick="ImageButton2_Click">
                            </asp:ImageButton>
                            <asp:ImageButton id="ImageButton3" runat="server" Visible="False" ImageUrl="images/submit.gif" onclick="ImageButton3_Click">
                            </asp:ImageButton>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" align="center">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="4" align="center">
                            &nbsp;</td>
                    </tr>
                </table>
                <table width="96%" height="300" border="0" id="TABLE2" runat="server">
                    <tr>
                        <td width="20%" align="right">
                            用户名：</td>
                        <td width="20%" align="left">
                            &nbsp;
										<asp:TextBox id="TextBox4" runat="server" Width="100px" ReadOnly="True"></asp:TextBox>
                        </td>
                        <td width="20%" align="right">
                            密码：</td>
                        <td width="20%" align="left">
                            &nbsp;
										<asp:TextBox id="TextBox5" runat="server" Width="100px" 
                                TextMode="Password"></asp:TextBox>
                        </td>
                        <td width="20%" align="right">
                            确认密码：</td>
                        <td width="20%" align="left">
                            <asp:TextBox id="TextBox6" runat="server" Width="100px" TextMode="Password"></asp:TextBox>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td colspan="4" align="center">
                            <asp:ImageButton id="ImageButton1" runat="server" ImageUrl="images/submit.gif" onclick="ImageButton1_Click">
                            </asp:ImageButton>
                            &nbsp;<asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ControlToCompare="TextBox5" ControlToValidate="TextBox6" ErrorMessage="输入不一致"></asp:CompareValidator>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
                <br /><div id="divmanager" runat="server">超级管理员密码修改（默认为admin admin）：<br />超管用户名<asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
&nbsp;超管密码<asp:TextBox ID="TextBox8" runat="server" TextMode="Password"></asp:TextBox>
&nbsp;确认新密码<asp:TextBox ID="TextBox9" runat="server" TextMode="Password"></asp:TextBox>
                <asp:CompareValidator id="CompareValidator2" runat="server" 
                                ErrorMessage="两次输入密码不一致" ControlToCompare="TextBox8"
											ControlToValidate="TextBox9"></asp:CompareValidator>
                <br />
                <asp:ImageButton id="ImageButton4" runat="server" 
                                ImageUrl="images/submit.gif" onclick="ImageButton4_Click">
                </asp:ImageButton>
            </td>
        </tr>
    </table></div>
</asp:Content>
