📄 queryeatingform.aspx
字号:
<%--文件名:QueryEatingForm.aspx--%>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="QueryEatingForm.aspx.cs" Inherits="QueryManage_QueryEatingForm" Title="当前位置:查询管理->查询用餐信息" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 556px; height: 161px">
<tr>
<td align="left" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 13px;
background-color: mediumturquoise">
用餐单号:<asp:TextBox ID="TextBox1" runat="server" Width="123px">%%</asp:TextBox>
入座台位:<asp:TextBox ID="TextBox2" runat="server" Width="93px">%%</asp:TextBox>
用餐类别:<asp:DropDownList ID="DropDownList1" runat="server" AppendDataBoundItems="True"
DataSourceID="SqlDataSource1" DataTextField="用餐类别" DataValueField="用餐类别" Width="98px">
<asp:ListItem>所有</asp:ListItem>
</asp:DropDownList><br />
服务人员:<asp:DropDownList ID="DropDownList2" runat="server" AppendDataBoundItems="True"
DataSourceID="SqlDataSource2" DataTextField="员工姓名" DataValueField="员工编号">
<asp:ListItem>所有</asp:ListItem>
</asp:DropDownList>
当前状态:<asp:DropDownList ID="DropDownList3" runat="server" AppendDataBoundItems="True"
DataSourceID="SqlDataSource3" DataTextField="当前状态" DataValueField="当前状态">
<asp:ListItem>所有</asp:ListItem>
</asp:DropDownList>
用餐日期:<asp:TextBox ID="TextBox6" runat="server" Width="61px">2007-1-1</asp:TextBox>到<asp:TextBox
ID="TextBox7" runat="server" Width="89px">2007-12-31</asp:TextBox><br />
用餐金额:<asp:TextBox ID="TextBox8" runat="server" Width="44px">0</asp:TextBox>元到<asp:TextBox
ID="TextBox9" runat="server" Width="60px">1000</asp:TextBox>元 折扣金额:<asp:TextBox ID="TextBox10"
runat="server" Width="51px">0</asp:TextBox>元到<asp:TextBox ID="TextBox11" runat="server"
Width="54px">1000</asp:TextBox>元
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查询" Width="70px" /><br />
实收金额:<asp:TextBox ID="TextBox12" runat="server" Width="44px">0</asp:TextBox>元到<asp:TextBox
ID="TextBox13" runat="server" Width="60px">1000</asp:TextBox>元 客人意见:<asp:TextBox
ID="TextBox14" runat="server" Width="150px">%%</asp:TextBox>
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="打印" Width="70px" /> </td>
</tr>
<tr>
<td style="width: 2232px; height: 100px; background-color: gainsboro">
<asp:Panel ID="Panel1" runat="server" Height="220px" ScrollBars="Auto" Width="553px">
<asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="White"
BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" Font-Names="宋体"
Font-Size="Small" GridLines="None" OnRowDataBound="GridView1_RowDataBound" Width="1200px">
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="#DEDFDE" ForeColor="Black" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" HorizontalAlign="Center" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyEateryDBConnectionString %>"
SelectCommand="SELECT DISTINCT [用餐类别] FROM [用餐信息]"></asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:MyEateryDBConnectionString %>"
SelectCommand="SELECT * FROM [员工信息] WHERE ([所属部门] = @所属部门)">
<SelectParameters>
<asp:Parameter DefaultValue="服务生组" Name="所属部门" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:MyEateryDBConnectionString %>"
SelectCommand="SELECT DISTINCT [当前状态] FROM [用餐信息]"></asp:SqlDataSource>
</asp:Panel>
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -