📄 default.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="backup_Default" %>
<<!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 id="Head1" runat="server">
<title>新增订单</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div id="container" style="z-index: 101; left: 97px; width: 941px; position: absolute;
top: 23px; height: 401px; text-align: center">
<div id="banner" width: 546px; position: absolute;
top: 14px; height: style="width: 925px" 41px">
新增订单</div>
<table style="border-right: gray thin solid; border-top: gray thin solid; border-left: gray thin solid; border-bottom: gray thin solid; text-align: center;" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
<td class="style1" style="width: 107px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
订单号:</td>
<td class="style2" colspan="2" style="border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; width: 139px; border-bottom: #cccccc thin solid;">
<asp:TextBox ID="tbx_id" runat="server" Width="141px"></asp:TextBox></td>
<td class="style1" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
客户编号:</td>
<td class="style2" colspan="2" style="border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; width: 139px; border-bottom: #cccccc thin solid;">
<asp:TextBox ID="tbx_client" runat="server" Width="141px"></asp:TextBox></td>
<td class="style1" style="width: 324px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
收货人电话:</td>
<td class="style2" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
<asp:TextBox ID="tbx_tell" runat="server" Width="113px"></asp:TextBox></td>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
</tr>
<tr>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid; height: 31px;">
</td>
<td class="style1" style="width: 107px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid; height: 31px;">
收货地址:</td>
<td class="style2" colspan="5" style="border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; width: 139px; border-bottom: #cccccc thin solid; height: 31px;">
<asp:TextBox ID="tbx_address" runat="server" Width="345px"></asp:TextBox></td>
<td class="style1" style="width: 324px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid; height: 31px;">
邮编:</td>
<td class="style2" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid; height: 31px;">
<asp:TextBox ID="tbx_code" runat="server" Width="111px"></asp:TextBox></td>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid; height: 31px;">
</td>
</tr>
<tr>
<td colspan="10" style="border-right: #cccccc thin solid; border-top: #cccccc thin solid;
border-left: #cccccc thin solid; border-bottom: #cccccc thin solid; height: 10px">
</td>
</tr>
<tr>
<td class="style1" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
商品编号:</td>
<td class="style2" style="width: 107px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
<asp:TextBox ID="tbx_productid" runat="server" Width="77px"></asp:TextBox></td>
<td style="width: 62px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
<asp:Button ID="btn_search" runat="server" Text="..." Width="38px" OnClick="btn_search_Click" Height="24px" /></td>
<td class="style1" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
订购数量:</td>
<td class="style2" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
<asp:TextBox ID="tbx_ordernum" runat="server" Width="57px"></asp:TextBox></td>
<td class="style1" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
商品名称:</td>
<td class="style2" style="width: 124px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
<asp:TextBox ID="tbx_productname" runat="server" Width="79px"></asp:TextBox></td>
<td class="style1" style="width: 324px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
销售价:</td>
<td class="style2" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
<asp:TextBox ID="tbx_productprice" runat="server" Width="107px"></asp:TextBox></td>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
<asp:Button ID="Button2" runat="server" Text="添加商品" OnClick="Button2_Click" /></td>
</tr>
<tr>
<td class="style1" style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
订单总额:</td>
<td class="style2" colspan="2" style="border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; width: 139px; border-bottom: #cccccc thin solid">
<asp:TextBox ID="tbx_sum" runat="server" Width="141px"></asp:TextBox></td>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
<td style="width: 124px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
<td style="width: 324px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
<td style="width: 139px; border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; border-bottom: #cccccc thin solid;">
</td>
</tr>
<tr>
<td colspan="10" style="border-right: #cccccc thin solid; border-top: #cccccc thin solid; border-left: #cccccc thin solid; width: 139px; border-bottom: #cccccc thin solid; text-align: center; height: 137px;">
<asp:DataGrid ID="DataGrid1" runat="server" Height="84px" Width="921px" AutoGenerateColumns="False">
<Columns>
<asp:BoundColumn DataField="product_id" HeaderText="商品编号"></asp:BoundColumn>
<asp:BoundColumn DataField="product_name" HeaderText="商品名称"></asp:BoundColumn>
<asp:BoundColumn DataField="order_num" HeaderText="订购数量"></asp:BoundColumn>
<asp:BoundColumn DataField="product_sellprice" HeaderText="销售价格"></asp:BoundColumn>
</Columns>
</asp:DataGrid>
</td>
</tr>
<tr>
<td style="width: 308px">
</td>
<td style="width: 107px">
</td>
<td style="width: 62px">
</td>
<td colspan="2">
<asp:Button ID="btn_submit" runat="server" Text="确定" Width="59px" OnClick="btn_submit_Click" /></td>
<td colspan="2">
<asp:Button ID="btn_reset" runat="server" Text="取消" Width="61px" OnClick="btn_reset_Click" /></td>
<td style="width: 324px">
</td>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -