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

📄 default.aspx

📁 这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" %>

<!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>
        <style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
-->
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;<table align="center" background="fffff.jpg"
            border="0" cellpadding="0" cellspacing="0" height="507" width="755">
            <tr>
                <td colspan="9" style="height: 102px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td height="379" rowspan="5" width="9">
                    &nbsp;</td>
                <td style="height: 1px; width: 268px;">
                    <div align="right">
                        COM端口:</div>
                </td>
                <td style="height: 1px" width="121">
                    <asp:TextBox ID="txtCOM" runat="server" Enabled="False" Width="130px"></asp:TextBox></td>
                <td style="height: 1px; width: 75px;">
                    <div align="right">
                        波特率:</div>
                </td>
                <td style="height: 1px; width: 99px;">
                    <asp:TextBox ID="txtBTL" runat="server" Enabled="False" Width="100px"></asp:TextBox></td>
                <td style="width: 372px; height: 1px">
                    <div align="right">
                        手机号码:</div>
                </td>
                <td style="height: 1px" width="178">
                    <asp:TextBox ID="txtSJHM" runat="server" Width="166px"></asp:TextBox></td>
                <td style="height: 1px; width: 135px;">
                    &nbsp;<asp:Button ID="btnSend" runat="server" OnClick="btnSend_Click" Text="短信发送"
                        Width="80px" /></td>
                <td rowspan="5" width="8">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="width: 268px; height: 12px">
                    <div align="right">
                        机器号码:</div>
                </td>
                <td colspan="3" style="height: 12px">
                    <asp:TextBox ID="txtJQHM" runat="server" Enabled="False" Width="293px"></asp:TextBox></td>
                <td rowspan="2" style="width: 372px">
                    <div align="right">
                        内容:</div>
                </td>
                <td colspan="2" rowspan="2">
                    <asp:TextBox ID="txtContent" runat="server" Height="77px" TextMode="MultiLine" Width="280px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 268px; height: 3px">
                    <div align="right">
                        授权号码:</div>
                </td>
                <td colspan="3" style="height: 3px">
                    &nbsp;<asp:TextBox ID="txtPower" runat="server" Width="289px">YIWU-IJDD-CDQW-JDWG</asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="4" style="height: 38px">
                    &nbsp;&nbsp;
                    <asp:Button ID="btnget" runat="server" OnClick="Button1_Click" Text="烟草销售信息采集" /></td>
                <td colspan="3" style="height: 38px; text-align: right">
                    &nbsp; &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="7" style="text-align: center" valign="top">
                    <asp:Panel ID="Panel1" runat="server" Height="185px" ScrollBars="Auto" Width="100%">
                        <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#336666"
                            BorderStyle="Double" BorderWidth="3px" CellPadding="4"
                            Height="142px" Width="97%">
                            <FooterStyle BackColor="White" ForeColor="#333333" />
                            <RowStyle BackColor="White" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
                        </asp:GridView>
                    </asp:Panel>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="9" height="36">
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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