📄 product.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="product.aspx.cs" Inherits="base_product" 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>
<th>批次</th>
<td><asp:TextBox runat="server" ID="type" ></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="product_id" HeaderText="编号" />
<asp:BoundField DataField="product_name" HeaderText="名称" />
<asp:BoundField DataField="product_type" HeaderText="型号" />
<asp:BoundField DataField="product_batch" HeaderText="等级/批次" />
<asp:BoundField DataField="product_unit" HeaderText="单位" />
<asp:BoundField DataField="product_price" HeaderText="单价(元)" />
<asp:BoundField DataField="product_memo" HeaderText="备注" />
</Columns>
<PagerSettings FirstPageText="首页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
NextPageText="下一页" PreviousPageText="上一页" />
<PagerStyle HorizontalAlign="Center" />
</asp:GridView>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -