📄 configestablishment.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ConfigEstablishment.aspx.cs" Inherits="ConfigEstablishment" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td align="left" style="background-position: center center; background-image: url(image/bar.jpg);
width: 629px; background-repeat: repeat-x; height: 22px">
<asp:LinkButton ID="linkjichucanshu" runat="server" ForeColor="White" OnClick="linkjichucanshu_Click" CausesValidation="False">基础参数设置</asp:LinkButton>
<asp:LinkButton ID="Linkchepiao" runat="server" ForeColor="White" OnClick="Linkchepiao_Click" CausesValidation="False">车票设置</asp:LinkButton>
<asp:LinkButton ID="Linkcheci" runat="server" ForeColor="White" OnClick="Linkcheci_Click" CausesValidation="False">车次设置</asp:LinkButton>
<asp:LinkButton ID="Linkdiaodu" runat="server" ForeColor="White" OnClick="Linkdiaodu_Click" CausesValidation="False">调度设置</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 629px;" align="left" valign="top" rowspan="5">
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
<table border="0" cellpadding="0" cellspacing="0" style="width: 500%; border-top: #3399ff 0.1pc solid; border-bottom: #3399ff 0.1pc solid;">
<tr>
<td colspan="3" style="height: 18px; background-color: #3399ff;">
基础参数设置</td>
</tr>
<tr>
<td style="width: 100px; height: 27px;">
买票设置:</td>
<td style="width: 441px; height: 27px;" align="left">
<asp:TextBox ID="TextBox1" runat="server" Width="55px" MaxLength="2"></asp:TextBox>点之前不能买票(24小时制)</td>
<td style="width: 119px; height: 27px;" align="center">
<asp:LinkButton ID="Linkbuy" runat="server" OnClick="Linkbuy_Click">确定</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px; height: 25px;">
订票设置:</td>
<td style="width: 441px; height: 25px;" align="left">
<asp:TextBox ID="TextBox2" runat="server" Width="55px" MaxLength="2"></asp:TextBox>点之前不能订票(24小时制)</td>
<td style="width: 119px; height: 25px;" align="center">
<asp:LinkButton ID="Linklinkding" runat="server" OnClick="Linklinkding_Click">确定</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px; height: 25px;">
退票设置:</td>
<td style="width: 441px; height: 25px;" align="left">
<asp:TextBox ID="TextBox3" runat="server" Width="57px" MaxLength="2"></asp:TextBox>说出几小时不能退票(24小时制)</td>
<td style="width: 119px; height: 25px;" align="center">
<asp:LinkButton ID="Linktui" runat="server" OnClick="Linktui_Click">确定</asp:LinkButton></td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px">
<table border="0" cellpadding="0" cellspacing="0" style="width: 501%; border-top: #3399ff 0.1mm solid; border-bottom: #3399ff 0.1mm solid;">
<tr>
<td colspan="3" style="height: 25px; background-color: #3399ff; width: 652px;">
车票的增删改</td>
</tr>
<tr>
<td align="left" colspan="3" style="height: 67px; width: 652px;" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; border-top-width: 0.1mm; border-left-width: 0.1mm; border-left-color: #3399ff; border-bottom-width: 0.1mm; border-bottom-color: #3399ff; border-top-color: #3399ff; border-right-width: 0.1mm; border-right-color: #3399ff;">
<tr>
<td align="center" colspan="3" style="height: 18px">
增加车票</td>
</tr>
<tr>
<td colspan="3" rowspan="4" align="left" style="height: 69px" valign="top">
车票名称:<asp:TextBox ID="txtaddname" runat="server" MaxLength="20"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtaddname"
Display="Dynamic" ErrorMessage="名称必须填写" ValidationGroup="1"></asp:RequiredFieldValidator><br />
开车时间:<asp:TextBox ID="txttime" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txttime"
Display="Dynamic" ErrorMessage="时间没有填写"></asp:RequiredFieldValidator>时间格式:2008-5-10 PM 02:40:00<br />
车票价格:<asp:TextBox ID="txtmoney" runat="server" MaxLength="4"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtmoney"
Display="Dynamic" ErrorMessage="价格必须填写" ValidationGroup="1"></asp:RequiredFieldValidator>
<br />
<asp:LinkButton ID="Linkaddticket" runat="server" Width="54px" OnClick="Linkaddticket_Click" ValidationGroup="1">添加</asp:LinkButton></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
修改删除车票</td>
</tr>
<tr>
<td style="height: 25px; width: 652px;" align="left" colspan="3">
选择要修改或删除车票名称:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1"
DataTextField="Tname" DataValueField="Tname" Width="118px" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged1" >
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="height: 96px; width: 652px;" align="left" colspan="3">
车票名称:<asp:TextBox ID="txtupname" runat="server" MaxLength="20"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtupname"
ErrorMessage="名称没有填写" Display="Dynamic" ValidationGroup="2"></asp:RequiredFieldValidator><br />
开车时间:<asp:TextBox ID="txtuptime" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtuptime"
Display="Dynamic" ErrorMessage="时间没有填写" ValidationGroup="2"></asp:RequiredFieldValidator>时间格式:2008-5-10
PM 02:40:00<br />
车票价格:<asp:TextBox ID="txtupmoney" runat="server" MaxLength="4" Width="148px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtupmoney"
Display="Dynamic" ErrorMessage="价格没有填写" ValidationGroup="2"></asp:RequiredFieldValidator>
<br />
<asp:LinkButton ID="Linkupdata" runat="server" OnClick="Linkupdata_Click" CausesValidation="False" ValidationGroup="2">修改</asp:LinkButton></td>
</tr>
<tr>
<td style="height: 37px; width: 652px;" align="left" colspan="3">
车票名称:<asp:TextBox ID="txtdelname" runat="server" MaxLength="20"></asp:TextBox>
<asp:LinkButton ID="Linkdel" runat="server" OnClick="Linkdel_Click" CausesValidation="False">删除</asp:LinkButton></td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel3" runat="server" Height="50px" Width="125px"><table border="0" cellpadding="0" cellspacing="0" style="width: 499%; border-top: #3399ff 0.1mm solid; border-bottom: #3399ff 0.1mm solid;">
<tr>
<td colspan="3" style="height: 25px; background-color: #3399ff;">
车次的增删改</td>
</tr>
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -