Admin/Tictit.aspx
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Tictit.aspx.cs" Inherits="Admin_Tictit" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" background="images/path_bg.gif" nowrap="nowrap" style="height: 21px"
valign="top" width="31">
<img height="19" src="images/path_left.gif" width="22" /></td>
<td align="left" background="images/path_bg.gif" class="textFFF" nowrap="nowrap"
style="height: 21px" width="135">
当前位置:</td>
<td align="left" background="images/pppp.gif" style="height: 21px" valign="top" width="41">
<img height="19" nowrap="nowrap" src="images/path_right.gif" width="28" /></td>
<td align="left" background="images/pppp.gif" colspan="2" style="height: 21px">
车票信息管理<a href="#"></a></td>
</tr>
</table>
<table border="0" cellpadding="3" style="border-right: #fe0000 1px solid;
border-top: #fe0000 1px solid; border-left: #fe0000 1px solid; border-bottom: #fe0000 1px solid;
background-color: #eeeeee" width="100%">
<tr>
<td align="center" colspan="2" style="height: 19px">
<table align="center" bgcolor="#e3ebfe" border="1" bordercolor="#2c6ed5" cellpadding="2"
cellspacing="0" style="font-size: 12px; width: 100%; font-family: Tahoma; border-collapse: collapse">
<tr>
<td colspan="2" style="height: 72px">
<font color="red">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" CellPadding="4" DataKeyNames="Tid" DataSourceID="SqlDataSource1"
ForeColor="#333333" GridLines="None" Width="100%">
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:BoundField DataField="Tid" HeaderText="Tid" InsertVisible="False" ReadOnly="True"
SortExpression="Tid" />
<asp:BoundField DataField="Tname" HeaderText="车次名称" SortExpression="Tname" />
<asp:BoundField DataField="Ttime" HeaderText="发车时间" SortExpression="Ttime" />
<asp:BoundField DataField="Tmoney" HeaderText="价格" SortExpression="Tmoney" />
<asp:BoundField DataField="Adddress" HeaderText="座位" SortExpression="Adddress" />
<asp:BoundField DataField="isSeal" HeaderText="是否出售" SortExpression="isSeal" />
<asp:CommandField ShowDeleteButton="True" DeleteText="删除" />
<asp:TemplateField HeaderText="修改" ShowHeader="False">
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "EdieTictit.aspx?Id=" + Eval("Tid") %>'>修改</asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</font>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:connStr %>"
DeleteCommand="DELETE FROM [Ticket] WHERE [Tid] = @original_Tid AND [Tname] = @original_Tname AND [Ttime] = @original_Ttime AND (([Tmoney] = @original_Tmoney) OR ([Tmoney] IS NULL AND @original_Tmoney IS NULL)) AND (([Adddress] = @original_Adddress) OR ([Adddress] IS NULL AND @original_Adddress IS NULL)) AND (([isSeal] = @original_isSeal) OR ([isSeal] IS NULL AND @original_isSeal IS NULL)) AND (([Type] = @original_Type) OR ([Type] IS NULL AND @original_Type IS NULL))" SelectCommand="SELECT * FROM [Ticket]" InsertCommand="INSERT INTO [Ticket] ([Tname], [Ttime], [Tmoney], [Adddress], [isSeal], [Type]) VALUES (@Tname, @Ttime, @Tmoney, @Adddress, @isSeal, @Type)" UpdateCommand="UPDATE [Ticket] SET [Tname] = @Tname, [Ttime] = @Ttime, [Tmoney] = @Tmoney, [Adddress] = @Adddress, [isSeal] = @isSeal, [Type] = @Type WHERE [Tid] = @original_Tid AND [Tname] = @original_Tname AND [Ttime] = @original_Ttime AND (([Tmoney] = @original_Tmoney) OR ([Tmoney] IS NULL AND @original_Tmoney IS NULL)) AND (([Adddress] = @original_Adddress) OR ([Adddress] IS NULL AND @original_Adddress IS NULL)) AND (([isSeal] = @original_isSeal) OR ([isSeal] IS NULL AND @original_isSeal IS NULL)) AND (([Type] = @original_Type) OR ([Type] IS NULL AND @original_Type IS NULL))" ConflictDetection="CompareAllValues" OldValuesParameterFormatString="original_{0}">
<DeleteParameters>
<asp:Parameter Name="original_Tid" Type="Int32" />
<asp:Parameter Name="original_Tname" Type="String" />
后面还有 46 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。