63 lines
2.9 KiB
Plaintext
63 lines
2.9 KiB
Plaintext
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="MyQianLiMa.WebForm1" %>
|
||
|
|
|
||
|
|
<!DOCTYPE html>
|
||
|
|
|
||
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
|
<head runat="server">
|
||
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||
|
|
<title></title>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<form id="form1" runat="server">
|
||
|
|
<div>
|
||
|
|
<span style="text-align: center">
|
||
|
|
<asp:Label ID="Label1" runat="server" Text="千里马请求时间"></asp:Label>
|
||
|
|
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
|
||
|
|
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="更改" />
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
</span>
|
||
|
|
<asp:Label ID="Label12" runat="server" Text=""></asp:Label>
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
<asp:Panel ID="Panel1" runat="server">
|
||
|
|
<asp:Label ID="Label11" runat="server" Text="酒店编码:"></asp:Label>
|
||
|
|
<asp:TextBox ID="txthotelcode" runat="server"></asp:TextBox>
|
||
|
|
<asp:Button ID="Button3" runat="server" Text="添加酒店信息" OnClick="Button3_Click" />
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="193px" CellPadding="4" ForeColor="#333333" GridLines="None" OnRowDeleting="GridView1_RowDeleting" OnRowCommand="GridView1_RowCommand">
|
||
|
|
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
|
||
|
|
<Columns>
|
||
|
|
<asp:BoundField DataField="hotel_code" HeaderText="酒店编码">
|
||
|
|
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
|
||
|
|
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
|
||
|
|
</asp:BoundField>
|
||
|
|
<asp:TemplateField HeaderText="操作">
|
||
|
|
<ItemTemplate>
|
||
|
|
<asp:Button ID="btnDelete" runat="server" Text="删除" CommandName="Delete" CommandArgument='<%# Eval("hotel_code") %>' />
|
||
|
|
</ItemTemplate>
|
||
|
|
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
|
||
|
|
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
|
||
|
|
</asp:TemplateField>
|
||
|
|
</Columns>
|
||
|
|
<EditRowStyle BackColor="#999999" />
|
||
|
|
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
|
||
|
|
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
|
||
|
|
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
|
||
|
|
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
|
||
|
|
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
|
||
|
|
<SortedAscendingCellStyle BackColor="#E9E7E2" />
|
||
|
|
<SortedAscendingHeaderStyle BackColor="#506C8C" />
|
||
|
|
<SortedDescendingCellStyle BackColor="#FFFDF8" />
|
||
|
|
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
|
||
|
|
</asp:GridView>
|
||
|
|
|
||
|
|
</asp:Panel>
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</body>
|
||
|
|
</html>
|