storage.aspx
来自「客户关系管理系统源码 北大青鸟项目 系统采用多层模式开发 主要功能有:」· ASPX 代码 · 共 41 行
ASPX
41 行
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="storage.aspx.cs" Inherits="base_storage" Title="产品查询" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="page_title">产品查询</div>
<div class="button_bar">
<button class="common_button" type="button" >帮助</button>
<asp:Button runat="server" ID="sel" Text="查询" class="common_button" OnClick="sel_Click" />
</div>
<table class="query_form_table">
<tr>
<th>产品</th>
<td><asp:TextBox runat="server" ID="name"></asp:TextBox></td>
<th>仓库</th>
<td><asp:TextBox runat="server" ID="num" ></asp:TextBox></td>
</tr>
</table>
<br />
<asp:GridView ID="GridView1" runat="server" CssClass="data_list_table" AutoGenerateColumns="False" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging">
<Columns>
<asp:BoundField DataField="stk_id" HeaderText="序号" />
<asp:TemplateField HeaderText="产品">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("product_id.product_name") %>'></asp:Label>-
<asp:Label ID="Label2" runat="server" Text='<%# Eval("product_id.product_type") %>'></asp:Label>-
<asp:Label ID="Label3" runat="server" Text='<%# Eval("product_id.product_batch") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="stk_warehouse" HeaderText="仓库" />
<asp:BoundField DataField="stk_ware" HeaderText="货位" />
<asp:BoundField DataField="stk_count" HeaderText="件数" />
<asp:BoundField DataField="stk_memo" HeaderText="备注" />
</Columns>
<PagerSettings FirstPageText="首页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
NextPageText="下一页" PreviousPageText="上一页" />
<PagerStyle HorizontalAlign="Center" />
</asp:GridView>
</asp:Content>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?