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

1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="BookingInquiry.aspx.cs" Inherits="BookingInquiry" 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"> 17
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 18
CellPadding="4" ForeColor="#333333" GridLines="None" 19
PageSize="12" Width="636px" DataSourceID="SqlDataSource1"> 20
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 21
<Columns> 22
<asp:BoundField DataField="Oid" HeaderText="编号" InsertVisible="False" ReadOnly="True" 23
SortExpression="Oid" /> 24
<asp:BoundField DataField="OCar" HeaderText="车次" SortExpression="OCar" /> 25
<asp:BoundField DataField="OTicketype" HeaderText="车票类型" SortExpression="OTicketype" /> 26
<asp:BoundField DataField="ObuyTime" HeaderText="预定时间" SortExpression="ObuyTime" /> 27
<asp:BoundField DataField="Ousetime" HeaderText="开车时间" SortExpression="Ousetime" /> 28
<asp:BoundField DataField="Omoney" HeaderText="票价" SortExpression="Omoney" /> 29
</Columns> 30
<RowStyle BackColor="#EFF3FB" /> 31
<EditRowStyle BackColor="#2461BF" /> 32
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 33
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 34
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 35
<AlternatingRowStyle BackColor="White" /> 36
</asp:GridView> 37
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:webSealTicketConnectionString %>" 38
SelectCommand="SELECT * FROM [OrderTicket]"></asp:SqlDataSource> 39
40
</td> 41
</tr> 42
</table> 43
</asp:Content> 44
45




