📄 stockpile_search.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Stockpile_Search.aspx.cs" Inherits="Stockpile_Search" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder_title" Runat="Server">
<span style="font-size:12px; color:#FFFFFF;font-weight: bold;">库存信息</span>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Pages" Runat="Server">
<table style="font-size: 12px; height: 51px; text-align: center; width: 553px;">
<tr>
<td align="center" style="width: 236px">
<asp:CheckBox ID="CheckBox1" runat="server" Text="商品名称" /></td>
<td align="center" style="width: 165px">
<asp:TextBox ID="TN" runat="server" Width="90px"></asp:TextBox></td>
<td align="center" style="width: 313px">
<asp:CheckBox ID="CheckBox2" runat="server" Text="供应商" /></td>
<td align="center" style="width: 189px">
<asp:TextBox ID="PN" runat="server" Width="90px"></asp:TextBox></td>
<td align="left" style="width: 56px">
<asp:Button ID="Button1" runat="server" Height="25px" OnClick="Button1_Click" Text="查询"
Width="54px" />
</td>
<td align="left" style="width: 56px">
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="返回" Width="53px" /></td>
</tr>
</table>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px"
CellPadding="4" Font-Size="12px" HorizontalAlign="Center" OnPageIndexChanging="GridView1_PageIndexChanging"
OnRowDataBound="GridView1_RowDataBound" PageSize="20"
Width="98%" ForeColor="Black" GridLines="Vertical" EmptyDataText="暂无数据!">
<PagerSettings FirstPageText="第一页" LastPageText="最后一页"
NextPageText="下一页" PreviousPageText="上一页" />
<FooterStyle BackColor="#CCCC99" />
<Columns>
<asp:BoundField DataField="CommodityName" HeaderText="商品名称" />
<asp:BoundField DataField="CompanyName" HeaderText="供应商" />
<asp:BoundField DataField="Unit" HeaderText="单位" />
<asp:BoundField DataField="id" HeaderText="进货数量" />
<asp:BoundField DataField="id" HeaderText="销售数量" />
<asp:BoundField DataField="id" HeaderText="库存" />
</Columns>
<RowStyle HorizontalAlign="Center" BackColor="#F7F7DE" Height="30px" />
<SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" Height="30px" />
<HeaderStyle BackColor="#6B696B" BorderStyle="None" Font-Bold="True" ForeColor="White" Height="35px" />
<AlternatingRowStyle BackColor="White" Height="30px" />
</asp:GridView>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -