📄 cst_items_select.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CST_items_select.aspx.cs" Inherits="Admin_CST_items_select" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>商品查询显示</title>
<script language="javascript" type="text/javascript">
// <!CDATA[
function TABLE1_onclick() {
}
// ]]>
</script>
</head>
<body style="background-color: #dee5ef">
<form id="form1" runat="server">
<div style="text-align: left">
<table border="0" style="text-align: left; width: 719px;">
<tr>
<td colspan="2" style="height: 20px; width: 354px;" align="center">
<table style="width: 711px; height: 1px">
<tr>
<td align="left" style="width: 94px; height: 62px">
<asp:Label ID="Label2" runat="server" Height="18px" Text="商品编号" Width="67px"></asp:Label></td>
<td align="left" style="width: 95px; height: 62px">
<span style="position:absolute;border:1pt solid #c1c1c1;overflow:hidden;width:188px;height:19px;clip:rect(-1px 190px 190px 170px);">
<asp:DropDownList ID="drlItem" runat="server" style="margin:-2px;" onChange="javascript:document.getElementById('TxtInputname').value=document.getElementById('drlname').options[document.getElementById('drlname').selectedIndex].value;" Height="56px" Width="148px">
</asp:DropDownList>
</span>
<asp:TextBox ID="TextBox1" runat="server" Height="15px" Width="180px"></asp:TextBox></td>
<td align="left" style="width: 471px; height: 62px">
<asp:Label ID="Label1" runat="server" Text="商品名称" Width="78px" Height="6px"></asp:Label></td>
<td align="left" style="width: 3481px; height: 62px">
<span style="position:absolute;border:1pt solid #c1c1c1;overflow:hidden;width:188px;height:19px;clip:rect(-1px 190px 190px 170px);">
<asp:DropDownList ID="drlCat" runat="server" style="margin:-2px;" onChange="javascript:document.getElementById('TxtInputID').value=document.getElementById('drlID').options[document.getElementById('drlID').selectedIndex].value;" Height="58px" Width="190px">
</asp:DropDownList>
</span>
<span style="position:absolute;border-top:1pt solid #c1c1c1;border-left:1pt solid #c1c1c1;border-bottom:1pt solid #c1c1c1;width:170px;height:1px;">
<asp:TextBox ID="TxtInputCat" runat="server" style="border:0pt;" Height="15px" Width="163px"></asp:TextBox></span>
<asp:TextBox ID="TextBox2" runat="server" Height="15px" Width="180px"></asp:TextBox></td>
<td align="center" style="width: 100px; height: 62px">
<asp:Button ID="Button1" runat="server" Height="26px" Text="查询" Width="91px" OnClick="Button1_Click" />
</td>
<td align="left" style="width: 100px; height: 62px">
<asp:Button ID="Button3" runat="server" Height="24px" Text="导出XML" OnClick="Button3_Click" />
</td>
<td align="left" style="width: 384px; height: 62px">
<asp:Button ID="Button4" runat="server" Text="导入XML" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" style="width: 354px; height: 177px" colspan="2" rowspan="2">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
DataKeyNames="item_id" Height="89px" OnPageIndexChanging="GridView1_PageIndexChanging"
OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" PageSize="5"
Width="720px" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None" OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
<Columns>
<asp:BoundField DataField="item_id" HeaderText="商品编号" />
<asp:BoundField DataField="lie_name" HeaderText="类别目录名" />
<asp:BoundField DataField="name" HeaderText="商品名称" />
<asp:BoundField DataField="description" HeaderText="商品描述" />
<asp:BoundField DataField="quantity" HeaderText="商品数量" />
<asp:BoundField DataField="base_price" HeaderText="商品价格" />
<asp:BoundField DataField="small_image_url" HeaderText="商品小图" />
<asp:BoundField DataField="large_image_url" HeaderText="商品大图" />
<asp:CommandField FooterText="编辑" HeaderText="操作" ShowEditButton="True" />
<asp:CommandField FooterText="删除" HeaderText="操作" ShowDeleteButton="True" />
</Columns>
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="#DEDFDE" ForeColor="Black" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
</asp:GridView>
</td>
</tr>
<tr>
</tr>
<tr>
<td style="width: 354px; height: 18px; text-align: center;" align="center" colspan="2">
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="添加" Width="60px" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -