温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:库存管理系统V1.0源码
当前文件:
StoreManage/Managehuo.aspx,打开代码结构图
StoreManage/Managehuo.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Managehuo.aspx.cs" Inherits="Managehuo" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<title>--------</title> 8
<link href="style.css" rel="stylesheet" type="text/css" /> 9
<style type="text/css"> 10
<!-- 11
.STYLE1 {color: #FF0000} 12
body,td,th { 13
font-size: 9pt; 14
} 15
body { 16
margin-left: 0px; 17
margin-right: 0px; 18
margin-bottom: 0px; 19
margin-top: 0px; 20
} 21
--> 22
</style> 23
</head> 24
25
<body> 26
<form id="form2" name="form1" method="post" runat="server" action=""> 27
<table width="80%" border="1" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC"> 28
<tr> 29
<td height="10" bgcolor="#ECFFEC" style="width: 59%"><div align="center"><strong>管理货品</strong></div></td> 30
</tr> 31
</table> 32
<table width="80%" border="1" align="center" cellpadding="5" cellspacing="0"> 33
<tr> 34
<td style="width: 100%; height: 10px;" align="center"><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 35
OnPageIndexChanging="GridView1_PageIndexChanging1" OnRowDeleting="GridView1_RowDeleting" Width="100%" CellPadding="4" 36
ForeColor="#333333" PageSize="8" HorizontalAlign="Left" AllowPaging="True"> 37
<Columns> 38
<asp:BoundField DataField="huoName" HeaderText="货品名称" /> 39
<asp:BoundField DataField="huoDanwei" HeaderText="单位" /> 40
<asp:BoundField DataField="cfck" HeaderText="存放仓库" /> 41
<asp:BoundField DataField="rkdw" HeaderText="入库单价" /> 42
<asp:BoundField DataField="ckdw" HeaderText="出库单价" /> 43
<asp:BoundField DataField="yskc" HeaderText="原始库存" /> 44
<asp:BoundField DataField="dixian" HeaderText="警戒底线" /> 45
<asp:BoundField DataField="gaoxian" HeaderText="警戒高线" /> 46
<asp:BoundField DataField="huoID" Visible="False" /> 47
<asp:HyperLinkField DataNavigateUrlFields="huoID" DataNavigateUrlFormatString="Edithuo.aspx?BID={0}" 48
HeaderText="更新" Text="更新" /> 49
<asp:TemplateField HeaderText="删除"> 50
<ItemTemplate> 51
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete" 52
Text="删除" onClientClick="return confirm('确定要删除吗?')" ></asp:LinkButton> 53
</ItemTemplate> 54
</asp:TemplateField> 55
</Columns> 56
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 57
<RowStyle BackColor="#EFF3FB" /> 58
<EditRowStyle BackColor="#2461BF" /> 59
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 60
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 61
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 62
<AlternatingRowStyle BackColor="White" /> 63
</asp:GridView> 64
</td> 65
66
</tr> 67
68
</table> 69
<table border="1" align="center" cellpadding="3" cellspacing="1" style="width: 80%"> 70
71
<tr align="center" > 72
<td align="center" bgcolor="#ffffff" colspan="5" rowspan="5" style="width: 80%; height: 21px;"> 73
<asp:Button ID="Button1" runat="server" Text="短线货品管理" OnClick="Button1_Click" /> <asp:Button ID="Button2" 74
runat="server" Text="超储货品管理" OnClick="Button2_Click" /> 75
</td> 76
</tr> 77
<tr align="center"> 78
</tr> 79
<tr align="center"> 80
</tr> 81
<tr align="center"> 82
</tr> 83
<tr align="center"> 84
</tr> 85
86
</table> 87
</form> 88
89
</body> 90
</html> 91



<!--

.STYLE1 
-->
