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

1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="OperationPlan.aspx.cs" Inherits="QuarterStatistics" 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; border-bottom: #3399ff 0.1mm solid;" valign="top"> 13
以下是当前运营的所有列车</td> 14
</tr> 15
<tr> 16
<td colspan="3" style="height: auto" 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="633px"> 20
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 21
<Columns> 22
<asp:BoundField DataField="Cid" HeaderText="车辆编号" InsertVisible="False" SortExpression="Cid" /> 23
<asp:BoundField DataField="Carname" HeaderText="车次" SortExpression="Carname" /> 24
</Columns> 25
<RowStyle BackColor="#EFF3FB" /> 26
<EditRowStyle BackColor="#2461BF" /> 27
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 28
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 29
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 30
<AlternatingRowStyle BackColor="White" /> 31
</asp:GridView> 32
33
</td> 34
</tr> 35
<tr> 36
<td align="center" colspan="3" style="height: 8px; border-bottom: #3399ff 0.1mm solid;" valign="top"> 37
以下是当前停运的所有列车</td> 38
</tr> 39
<tr> 40
<td align="left" colspan="3" style="height: auto" valign="top"> 41
<asp:GridView ID="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False" 42
CellPadding="4" DataSourceID="SqlDataSource2" ForeColor="#333333" GridLines="None" 43
PageSize="12" Width="634px"> 44
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 45
<Columns> 46
<asp:BoundField DataField="Cid" HeaderText="车辆编号" InsertVisible="False" ReadOnly="True" 47
SortExpression="Cid" /> 48
<asp:BoundField DataField="Carname" HeaderText="车次" SortExpression="Carname" /> 49
</Columns> 50
<RowStyle BackColor="#EFF3FB" /> 51
<EditRowStyle BackColor="#2461BF" /> 52
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 53
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 54
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 55
<AlternatingRowStyle BackColor="White" /> 56
</asp:GridView> 57
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:webSealTicketConnectionString %>" 58
SelectCommand="SELECT * FROM [Car] WHERE ([CType] = @CType)"> 59
<SelectParameters> 60
<asp:Parameter DefaultValue="否" Name="CType" Type="String" /> 61
</SelectParameters> 62
</asp:SqlDataSource> 63
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:webSealTicketConnectionString %>" 64
SelectCommand="SELECT * FROM [Car] WHERE ([CType] = @CType)"> 65
<SelectParameters> 66
<asp:Parameter DefaultValue="是" Name="CType" Type="String" /> 67
</SelectParameters> 68
</asp:SqlDataSource> 69
</td> 70
</tr> 71
</table> 72
</asp:Content> 73
74




