📄 managepancun.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Managepancun.aspx.cs" Inherits="Managepancun" %>
<!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>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
body,td,th {
font-size: 9pt;
}
body {
margin-left: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-top: 0px;
}
-->
</style>
</head>
<body>
<form id="form2" name="form1" method="post" runat="server" action="">
<table width="60%" border="1" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td height="10" bgcolor="#ECFFEC" style="width: 59%"><div align="center"><strong>盘存管理</strong></div></td>
</tr>
</table>
<table width="60%" border="1" align="center" cellpadding="5" cellspacing="0">
<tr>
<td style="width: 100%; height: 10px;" align="center"><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
OnPageIndexChanging="GridView1_PageIndexChanging1" OnRowDeleting="GridView1_RowDeleting" Width="100%" CellPadding="4"
ForeColor="#333333" PageSize="8" HorizontalAlign="Left" AllowPaging="True">
<Columns>
<asp:BoundField DataField="huoName" HeaderText="货品名称" />
<asp:BoundField DataField="huoDanwei" HeaderText="单位" />
<asp:BoundField DataField="cfck" HeaderText="存放仓库" />
<asp:BoundField DataField="huoID" Visible="False" />
<asp:BoundField DataField="pancun" HeaderText="盘存数" />
<asp:HyperLinkField DataNavigateUrlFields="huoID" DataNavigateUrlFormatString="Editpancun.aspx?BID={0}"
HeaderText="更新" Text="更新" />
<asp:TemplateField HeaderText="删除">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
Text="删除" onClientClick="return confirm('确定要删除吗?')" ></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -