📄 cxpj2.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Cxpj2.aspx.cs" Inherits="WebForm_Cxpj2" Title="未售车票查询" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 543px; height: 276px">
<tr>
<td style="width: 37px">
</td>
<td colspan="2" rowspan="2">
<table style="width: 497px; height: 139px">
<tr>
<td rowspan="5" style="width: 101px">
<asp:CheckBoxList ID="CheckBoxList1" runat="server" Height="106px">
<asp:ListItem>车次编号</asp:ListItem>
<asp:ListItem>发车地点</asp:ListItem>
<asp:ListItem>目的地点</asp:ListItem>
<asp:ListItem>发车时间</asp:ListItem>
</asp:CheckBoxList></td>
<td style="height: 22px">
<asp:TextBox ID="TextBox1" runat="server" Width="300px"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 12px">
<asp:TextBox ID="TextBox2" runat="server" Width="300px"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 22px">
<asp:TextBox ID="TextBox3" runat="server" Width="300px"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 22px">
<asp:TextBox ID="TextBox4" runat="server" Width="300px"></asp:TextBox></td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
<table>
<tr>
<td style="width: 157px">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="确定" Width="87px" /></td>
<td style="width: 100px">
</td>
</tr>
</table>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [车次编号], [发车地点], [目的地点], [票价], [数量], [发车时间] FROM [unbuy]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 37px">
</td>
</tr>
<tr>
<td style="width: 37px; height: 182px">
</td>
<td colspan="2" style="height: 182px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
DataKeyNames="车次编号" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None">
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="车次编号" HeaderText="车次编号" ReadOnly="True" SortExpression="车次编号" />
<asp:BoundField DataField="发车地点" HeaderText="发车地点" SortExpression="发车地点" />
<asp:BoundField DataField="目的地点" HeaderText="目的地点" SortExpression="目的地点" />
<asp:BoundField DataField="票价" HeaderText="票价" SortExpression="票价" />
<asp:BoundField DataField="数量" HeaderText="数量" SortExpression="数量" />
<asp:BoundField DataField="发车时间" HeaderText="发车时间" SortExpression="发车时间" />
</Columns>
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -