温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:在线订票系统源码(毕业设计)
当前文件路径:TicketOnline/PredeterminedTicketInquiry.aspx

1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PredeterminedTicketInquiry.aspx.cs" Inherits="PredeterminedTicketInquiry" Title="Untitled Page" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<table border="0" cellpadding="0" cellspacing="0" style="border-right: #3399ff 0.1mm solid; 4
border-top: #3399ff 0.1mm solid; width: 100%; 5
border-bottom: #3399ff 0.1mm solid"> 6
<tr> 7
<td align="center" colspan="3" style="background-position: center center; 8
background-repeat: repeat-x; height: 30px; background-color: #3399ff;"> 9
售票信息查询</td> 10
</tr> 11
<tr> 12
<td align="center" colspan="3" style="height: 8px" valign="top"> 13
以下是当前售出的所有车票</td> 14
</tr> 15
<tr> 16
<td colspan="3" style="height: 132px" valign="top" align="left"> 17
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 18
CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" 19
PageSize="12" Width="635px"> 20
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 21
<Columns> 22
<asp:BoundField DataField="Sid" HeaderText="编号" InsertVisible="False" ReadOnly="True" 23
SortExpression="Sid" /> 24
<asp:BoundField DataField="SCar" HeaderText="车次" SortExpression="SCar" /> 25
<asp:BoundField DataField="SticketType" HeaderText="车票类型" SortExpression="SticketType" /> 26
<asp:BoundField DataField="Stime" HeaderText="开车时间" SortExpression="Stime" /> 27
<asp:BoundField DataField="Smoney" HeaderText="价格" SortExpression="Smoney" /> 28
</Columns> 29
<RowStyle BackColor="#EFF3FB" /> 30
<EditRowStyle BackColor="#2461BF" /> 31
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 32
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 33
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 34
<AlternatingRowStyle BackColor="White" /> 35
</asp:GridView> 36
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:webSealTicketConnectionString %>" 37
SelectCommand="SELECT * FROM [SealTicket]"></asp:SqlDataSource> 38
</td> 39
</tr> 40
41
</table> 42
</asp:Content> 43
44




