⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.aspx

📁 这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_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 runat="server">
    <title>无标题页</title>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 769px; height: 368px">
            <tr>
                <td align="center" style="font-weight: bold; font-size: 16pt; height: 8px">
                    商品基本信息录入</td>
            </tr>
            <tr>
                <td style="height: 8px">
                    <table style="width: 762px; height: 63px">
                        <tr>
                            <td align="right" style="width: 200px">
                                商品ID</td>
                            <td style="width: 167px">
                                <asp:TextBox ID="txtGoodsID" runat="server"></asp:TextBox></td>
                            <td align="right" style="width: 92px">
                                商品名称:</td>
                            <td style="width: 150px">
                                <asp:TextBox ID="txtGoodName" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 200px">
                                品牌:</td>
                            <td style="width: 167px">
                                <asp:TextBox ID="txtMark" runat="server"></asp:TextBox></td>
                            <td align="right" style="width: 92px">
                                型号:</td>
                            <td style="width: 150px">
                                <asp:TextBox ID="txtType" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 200px">
                                单价:</td>
                            <td style="width: 167px">
                                <asp:TextBox ID="txtPrise" runat="server"></asp:TextBox></td>
                            <td align="right" style="width: 92px">
                                单位:</td>
                            <td style="width: 150px">
                                <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 200px">
                                备注:</td>
                            <td colspan="3">
                                <asp:TextBox ID="txtMemo" runat="server" Height="141px" TextMode="MultiLine" Width="663px"></asp:TextBox></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center" style="height: 4px">
                    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保 存" />
                    <asp:Button ID="btnCancle" runat="server" Text="清 空" /></td>
            </tr>
            <tr>
                <td>
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
                        BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical"
                        Width="757px" OnRowDataBound="GridView1_RowDataBound" PageSize="20">
                        <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                        <Columns>
                            <asp:BoundField DataField="goodsid" HeaderText="商品编号" />
                            <asp:BoundField DataField="goodsname" HeaderText="商品名称" />
                            <asp:BoundField DataField="mark" HeaderText="品牌" />
                            <asp:BoundField DataField="type" HeaderText="型号" />
                            <asp:BoundField DataField="price" HeaderText="单价" />
                            <asp:BoundField DataField="unit" HeaderText="单位" />
                            <asp:BoundField DataField="memo" HeaderText="备注" />
                        </Columns>
                        <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                        <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="Gainsboro" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -