📄 addgoodsl.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="addgoodsl.ascx.cs" Inherits="control_addgoodsl" %>
<table style="width: 576px; height: 181px; text-align: center">
<tr>
<td colspan="2" style="height: 45px">
<strong><span style="font-size: 16pt; color: #66cccc">添加商品信息</span></strong></td>
</tr>
<tr style="font-size: 12pt">
<td align="right" style="width: 95px; text-align: right">
商品编号:</td>
<td align="left" style="width: 74px; text-align: left">
<asp:TextBox ID="txtgoodsnum" runat="server" Width="113px"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtgoodsnum" ErrorMessage="商品编号不能为空!">*</asp:RequiredFieldValidator></td>
</tr>
<tr style="font-size: 12pt">
<td align="right" style="width: 95px">
商品名称:</td>
<td align="left" style="width: 74px">
<asp:TextBox ID="txtgoodsname" runat="server" Width="114px"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtgoodsname"
ErrorMessage="商品名称不能为空!">*</asp:RequiredFieldValidator></td>
</tr>
<tr style="font-size: 12pt">
<td align="right" style="width: 95px; height: 23px">
单位 :</td>
<td align="left" style="width: 74px; height: 23px">
<asp:TextBox ID="txtgoodsunit" runat="server" Width="113px"></asp:TextBox></td>
</tr>
<tr style="font-size: 12pt">
<td align="right" style="width: 95px">
规格型号:</td>
<td align="left" style="width: 74px">
<asp:TextBox ID="txtgoodsspecs" runat="server" Width="113px"></asp:TextBox></td>
</tr>
<tr style="font-size: 12pt">
<td align="right" style="width: 95px">
单价:</td>
<td align="left" style="width: 74px">
<asp:TextBox ID="txtgoodsprice" runat="server" Width="113px"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtgoodsprice"
ErrorMessage="商品单价不能为空!">*</asp:RequiredFieldValidator></td>
</tr>
<tr style="font-size: 12pt">
<td align="right" style="width: 95px">
数量:</td>
<td align="left" style="width: 74px">
<asp:TextBox ID="txtgoodsnumber" runat="server" Width="113px"></asp:TextBox></td>
</tr>
<tr style="font-size: 12pt">
<td align="right" style="width: 95px">
供货商:</td>
<td align="left" style="width: 74px">
<asp:DropDownList ID="ddlgoodclient" runat="server" Width="113px">
</asp:DropDownList></td>
</tr>
<tr style="font-size: 12pt">
<td colspan="2">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加" />
<input id="Reset1" type="reset" value="重置" /><br />
<asp:ValidationSummary ID="ValidationSummary1" runat="server" />
</td>
</tr>
<tr style="font-size: 12pt">
<td colspan="2">
<span style="color: #ff6699"><strong>目前准备进货一览表</strong></span></td>
</tr>
<tr style="font-size: 12pt">
<td colspan="2">
<asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#CCCCCC"
BorderStyle="None" BorderWidth="1px" CellPadding="3" Height="2px" Width="552px">
<FooterStyle BackColor="White" ForeColor="#000066" />
<RowStyle ForeColor="#000066" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
</asp:GridView>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -