您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->酒店管理系统(三层开发)源码>>WebSite_hotel/AddRoomType.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:酒店管理系统(三层开发)源码
当前文件:文件类型 ThreeLayerHotel/WebSite_hotel/AddRoomType.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddRoomType.aspx.cs" Inherits="AddRoomType" Title="无标题页" %> 2 3<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> 4 <style type="text/css"> 5 .style19 6 { 7 width: 143%; 8 } 9 .style23 10 { 11 height: 30px; 12 } 13 .style25 14 { 15 height: 22px; 16 } 17 .style26 18 { 19 width: 174px; 20 } 21 .style30 22 { 23 height: 14px; 24 } 25 .style31 26 { 27 width: 214px; 28 } 29 </style> 30</asp:Content> 31<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 32 <br /> 33 <table align="center" class="style19" frame="border" border="0"> 34 <tr> 35 <td align="right" class="style31"> 36 类型名称:</td> 37 <td align="left" class="style30"> 38 <asp:TextBox ID="txtTypeName" runat="server" Width="157px" AutoPostBack="True" 39 ontextchanged="txtTypeName_TextChanged"></asp:TextBox> 40 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 41 ErrorMessage="*" ControlToValidate="txtTypeName" 42 Font-Size="Small"></asp:RequiredFieldValidator> 43 <asp:Label ID="Label8" runat="server" Font-Size="Small" ForeColor="Red"></asp:Label> 44 </td> 45 </tr> 46 <tr> 47 <td align="right" class="style31"> 48 类型价格:</td> 49 <td align="left" class="style23"> 50 <asp:TextBox ID="txtTypePrice" runat="server" Width="157px"></asp:TextBox> 51 <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 52 ControlToValidate="txtTypePrice" ErrorMessage="*" Display="Dynamic" 53 Font-Size="Small"></asp:RequiredFieldValidator> 54 <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 55 ControlToValidate="txtTypePrice" Display="Dynamic" ErrorMessage="必须是数字!" 56 Font-Size="Small" ValidationExpression="^\d+(\.\d+)?$"></asp:RegularExpressionValidator> 57 </td> 58 </tr> 59 <tr> 60 <td align="right" class="style31"> 61 是否加床:</td> 62 <td align="left" class="style25"> 63 <asp:RadioButton ID="radyes" runat="server" GroupName="a" Text="是" 64 AutoPostBack="True" oncheckedchanged="radyes_CheckedChanged" /> 65 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 66 <asp:RadioButton ID="radno" runat="server" GroupName="a" Text="否" 67 AutoPostBack="True" oncheckedchanged="radno_CheckedChanged" /> 68 </td> 69 </tr> 70 <tr> 71 <td align="right" class="style31"> 72 加床价格:</td> 73 <td align="left"> 74 <asp:TextBox ID="txtaddbed" runat="server" Width="157px"></asp:TextBox> 75 <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 76 ControlToValidate="txtaddbed" ErrorMessage="*" Display="Dynamic" 77 Font-Size="Small"></asp:RequiredFieldValidator> 78 <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 79 ControlToValidate="txtaddbed" Display="Dynamic" ErrorMessage="必须是数字!" 80 Font-Size="Small" ValidationExpression="^\d+(\.\d+)?$"></asp:RegularExpressionValidator> 81 </td> 82 </tr> 83 <tr> 84 <td align="right" class="style31"> 85 类型图片:</td> 86 <td align="left"> 87 <asp:FileUpload ID="FileUpload1" runat="server" /> 88 </td> 89 </tr> 90 <tr> 91 <td align="right" class="style31"> 92&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 注:</td> 93 <td align="left"> 94 <asp:TextBox ID="txtdescr" runat="server" Height="53px" TextMode="MultiLine" 95 Width="223px"></asp:TextBox> 96 <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 97 ControlToValidate="txtdescr" ErrorMessage="*" 98 Font-Size="Small"></asp:RequiredFieldValidator> 99 </td> 100 </tr> 101 <tr> 102 <td colspan="2"> 103 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton 104 ID="LinkButton11" runat="server" ForeColor="Blue" 105 onclick="LinkButton11_Click">确定</asp:LinkButton> 106 &nbsp; 107 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 108 <asp:LinkButton ID="LinkButton12" runat="server" CausesValidation="False" 109 ForeColor="Blue" onclick="LinkButton12_Click">返回</asp:LinkButton> 110 <asp:Label ID="Label7" runat="server" Text="Label" Visible="False"></asp:Label> 111 </td> 112 </tr> 113 </table> 114 115</asp:Content> 116 117
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:酒店管理系统(三层开发)源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号