您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->酒店管理系统(三层开发)源码>>WebSite_hotel/UserRecord.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:酒店管理系统(三层开发)源码
当前文件:文件类型 ThreeLayerHotel/WebSite_hotel/UserRecord.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" Debug="true" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="UserRecord.aspx.cs" Inherits="UserRecord" Title="无标题页" %> 2 3<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> 4 5 6 <style type="text/css"> 7 .style27 8 { 9 width: 239px; 10 } 11 .style28 12 { 13 width: 79px; 14 } 15 .style30 16 { 17 width: 101px; 18 } 19 .style31 20 { 21 width: 177px; 22 } 23 .style32 24 { 25 width: 144px; 26 } 27 .style33 28 { 29 width: 149px; 30 } 31 </style> 32 33 34</asp:Content> 35<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 36 <br /> 37<asp:UpdatePanel ID="UpdatePanel2" runat="server"> 38 <ContentTemplate> 39 <asp:MultiView ID="MultiView5" runat="server"> 40 <asp:View ID="View9" runat="server"> 41 <table align="center"> 42 <tr> 43 <td align="right" class="style32"> 44 <asp:DropDownList ID="ddl" runat="server"> 45 <asp:ListItem>--查询方式--</asp:ListItem> 46 <asp:ListItem>用户ID</asp:ListItem> 47 <asp:ListItem>姓名</asp:ListItem> 48 </asp:DropDownList> 49 <asp:CompareValidator ID="CompareValidator1" runat="server" 50 ControlToValidate="ddl" ErrorMessage="*" Operator="NotEqual" 51 ValueToCompare="--查询方式--"></asp:CompareValidator> 52 </td> 53 <td align="left" class="style31"> 54 <asp:TextBox ID="txtfilter" runat="server"></asp:TextBox> 55 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 56 ControlToValidate="txtfilter" ErrorMessage="*"></asp:RequiredFieldValidator> 57 </td> 58 <td align="center" class="style31"> 59 <asp:LinkButton ID="LinkButton11" runat="server" ForeColor="Blue" 60 onclick="LinkButton11_Click">查询数据</asp:LinkButton> 61 </td> 62 <td align="center" class="style30"> 63 <asp:LinkButton ID="LinkButton12" runat="server" ForeColor="Blue" 64 onclick="LinkButton12_Click" CausesValidation="False">查询所有</asp:LinkButton> 65 </td> 66 <td align="center"> 67 &nbsp;</td> 68 </tr> 69 <tr> 70 <td align="left" class="style28" colspan="3"> 71 &nbsp;</td> 72 <td align="center" colspan="2"> 73 &nbsp;</td> 74 </tr> 75 <tr> 76 <td colspan="5"> 77 <asp:MultiView ID="MultiView4" runat="server"> 78 <asp:View ID="View7" runat="server"> 79 <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 80 AutoGenerateColumns="False" CellPadding="4" DataKeyNames="UserID" 81 ForeColor="#333333" GridLines="None" Height="16px" 82 onpageindexchanging="GridView1_PageIndexChanging" 83 onrowdatabound="GridView1_RowDataBound" 84 onselectedindexchanged="GridView1_SelectedIndexChanged" PageSize="5" 85 Width="573px"> 86 <PagerSettings FirstPageText="1" LastPageText="&lt;&lt;" 87 NextPageText="&amp;gt;&gt;&gt;" PageButtonCount="5" /> 88 <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 89 <RowStyle BackColor="#EFF3FB" /> 90 <Columns> 91 <asp:BoundField DataField="UserID" HeaderText="用户编号" Visible="False" /> 92 <asp:BoundField DataField="UserName" HeaderText="用户ID" /> 93 <asp:BoundField DataField="Name" HeaderText="姓名" /> 94 <asp:TemplateField> 95 <ItemTemplate> 96 <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 97 CommandName="Select" ForeColor="Blue">详细</asp:LinkButton> 98 </ItemTemplate> 99 </asp:TemplateField> 100 </Columns> 101 <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 102 <EmptyDataTemplate> 103 <asp:Label ID="Label1" runat="server" Text="没有查询到数据!"></asp:Label> 104 </EmptyDataTemplate> 105 <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 106 <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 107 <EditRowStyle BackColor="#2461BF" /> 108 <AlternatingRowStyle BackColor="White" /> 109 </asp:GridView> 110 </asp:View> 111 <br /> 112 <asp:View ID="View8" runat="server"> 113 <asp:GridView ID="GridView2" runat="server" AllowPaging="True" 114 AutoGenerateColumns="False" CellPadding="4" DataKeyNames="UserID" 115 ForeColor="#333333" GridLines="None" Height="69px" 116 onpageindexchanging="GridView2_PageIndexChanging" 117 onrowdatabound="GridView2_RowDataBound" 118 onselectedindexchanged="GridView2_SelectedIndexChanged" PageSize="5" 119 Width="573px"> 120 <PagerSettings FirstPageText="1" LastPageText="&lt;&lt;" 121 NextPageText="&amp;gt;&gt;&gt;" PageButtonCount="5" /> 122 <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 123 <RowStyle BackColor="#EFF3FB" /> 124 <Columns> 125 <asp:BoundField DataField="UserID" HeaderText="用户编号" Visible="False" /> 126 <asp:BoundField DataField="UserName" HeaderText="用户ID" /> 127 <asp:BoundField DataField="Name" HeaderText="姓名" /> 128 <asp:TemplateField> 129 <ItemTemplate> 130 <asp:LinkButton ID="LinkButton4" runat="server" CausesValidation="False" 131 CommandName="Select" ForeColor="Blue">详细</asp:LinkButton> 132 </ItemTemplate> 133 </asp:TemplateField> 134 </Columns> 135 <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 136 <EmptyDataTemplate> 137 <asp:Label ID="Label2" runat="server" Text="没有查询到数据!"></asp:Label> 138 </EmptyDataTemplate> 139 <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 140 <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 141 <EditRowStyle BackColor="#2461BF" /> 142 <AlternatingRowStyle BackColor="White" /> 143 </asp:GridView> 144 </asp:View> 145 </asp:MultiView> 146 </td> 147 </tr> 148 </table> 149 </asp:View> 150 <asp:View ID="View6" runat="server"> 151 <table align="center" class="style23"> 152 <tr> 153 <td align="right" class="style27"> 154 用 户 ID:</td> 155 <td align="left" class="style33"> 156 <asp:Label ID="lblusername" runat="server" Text="Label"></asp:Label> 157 </td> 158 <td align="left" class="style25"> 159 &nbsp;</td> 160 </tr> 161 <tr> 162 <td align="right" class="style27"> 163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 名:</td> 164 <td align="left" class="style33"> 165 <asp:Label ID="lblname" runat="server" Text="Label"></asp:Label> 166 </td> 167 <td align="left" class="style25"> 168 &nbsp;</td> 169 </tr> 170 <tr> 171 <td align="right" class="style27"> 172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 份:</td> 173 <td align="left" class="style33"> 174 <asp:Label ID="lblstatus" runat="server" Text="Label"></asp:Label> 175 </td> 176 <td align="left" class="style25"> 177 <asp:DropDownList ID="ddl2" runat="server" Height="22px" Width="80px"> 178 <asp:ListItem>普通用户</asp:ListItem> 179 <asp:ListItem>管理员</asp:ListItem> 180 </asp:DropDownList> 181 </td> 182 </tr> 183 <tr> 184 <td align="right" class="style27"> 185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 址:</td> 186 <td align="left" class="style33"> 187 <asp:Label ID="lbladdress" runat="server" Text="Label"></asp:Label> 188 </td> 189 <td align="left" class="style25"> 190 &nbsp;</td> 191 </tr> 192 <tr> 193 <td align="right" class="style27"> 194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 话:</td> 195 <td align="left" class="style33"> 196 <asp:Label ID="lblphone" runat="server" Text="Label"></asp:Label> 197 </td> 198 <td align="left" class="style25"> 199 &nbsp;</td> 200 </tr> 201 <tr> 202 <td align="right" class="style27"> 203 E m a i l :</td> 204 <td align="left" class="style33"> 205 <asp:Label ID="lblemail" runat="server" Text="Label"></asp:Label> 206 </td> 207 <td align="left" class="style25"> 208 &nbsp;</td> 209 </tr> 210 <tr> 211 <td align="center" colspan="2"> 212 <asp:LinkButton ID="LinkButton5" runat="server" onclick="LinkButton5_Click" 213 ForeColor="Blue">确定更改</asp:LinkButton> 214 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 215 <asp:LinkButton ID="LinkButton6" runat="server" onclick="LinkButton6_Click" 216 ForeColor="Blue">返回</asp:LinkButton> 217 &nbsp;&nbsp; 218 </td> 219 <td align="center"> 220 <asp:LinkButton ID="LinkButton7" runat="server" ForeColor="Blue" 221 onclick="LinkButton7_Click" onclientclick="return confirm('确定删除该用户吗?');">删除该用户</asp:LinkButton> 222 </td> 223 </tr> 224 <tr> 225 <td align="center" colspan="3"> 226 <asp:Label ID="Label7" runat="server" ForeColor="Red" Visible="False"></asp:Label> 227 <asp:Timer ID="Timer1" runat="server" Interval="3000" ontick="Timer1_Tick"> 228 </asp:Timer> 229 <asp:Label ID="lbluserid" runat="server" Text="Label" Visible="False"></asp:Label> 230 </td> 231 </tr> 232 </table> 233 </asp:View> 234 </asp:MultiView> 235 </ContentTemplate> 236</asp:UpdatePanel> 237</asp:Content> 238 239
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:酒店管理系统(三层开发)源码