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

📄 default.aspx

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

<!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>
        <div style="text-align: center">
            &nbsp;
        </div>
    
    </div>
        &nbsp;
        <table align="center" background="main(2).jpg" border="0" cellpadding="0" cellspacing="0"
            height="427" width="580">
            <tr>
                <td colspan="7" height="101" style="text-align: center">
                    &nbsp;<asp:Label ID="Label1" runat="server" Font-Size="10pt" Width="535px"></asp:Label></td>
            </tr>
            <tr>
                <td height="240" rowspan="6" width="12">
                    &nbsp;</td>
                <td width="51">
                    <div align="center">
                        用户名:</div>
                </td>
                <td height="35" width="97">
                    <asp:TextBox ID="TxtPopUser" runat="server" Height="15px"
                        Width="90px"></asp:TextBox></td>
                <td rowspan="7" width="26">
                    &nbsp;</td>
                <td width="62">
                    <div align="center">
                        大小:</div>
                </td>
                <td width="315">
                    &nbsp;<asp:TextBox ID="txtSize" runat="server" Height="15px" 
                                        Width="150px"></asp:TextBox></td>
                <td rowspan="7" width="17">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <div align="center">
                        密 码:</div>
                </td>
                <td height="35">
                    <asp:TextBox ID="TxtPopPwd" runat="server" Height="15px" 
                        TextMode="Password" Width="90px"></asp:TextBox></td>
                <td width="62">
                    <div align="center">
                        来自:</div>
                </td>
                <td width="315">
                    &nbsp;<asp:TextBox ID="txtSendMail" runat="server" Height="15px" 
                                        Width="150px"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <div align="center">
                        服务器:</div>
                </td>
                <td height="35">
                    <asp:TextBox ID="TxtPopServer" runat="server" Height="15px" 
                        Width="90px"></asp:TextBox></td>
                <td width="62">
                    <div align="center">
                        主题:</div>
                </td>
                <td width="315">
                    &nbsp;<asp:TextBox ID="txtSubject" runat="server" Height="15px" 
                                        Width="150px"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <div align="center">
                        端 口:</div>
                </td>
                <td height="35">
                    <asp:TextBox ID="TxtPopPort" runat="server" Height="15px"
                        Width="90px"></asp:TextBox></td>
                <td rowspan="3" width="62">
                    <div align="center">
                        内容:</div>
                </td>
                <td rowspan="3" width="315">
                    &nbsp;<asp:TextBox ID="txtBody" runat="server" Height="115px" 
                                        TextMode="MultiLine" Width="304px"></asp:TextBox></td>
            </tr>
            <tr>
                <td height="12">
                    <div align="center">
                        编 号:</div>
                </td>
                <td height="35">
                    <asp:TextBox ID="txtBh" runat="server" Height="15px" 
                        Width="90px"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2" style="height: 56px">
                    &nbsp;<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="连接" Width="43px" />
                    <asp:Button
                        ID="Button2" runat="server" Enabled="False" OnClick="Button2_Click" Text="读取" Width="51px" />
                    <asp:Button ID="Button3" runat="server" Enabled="False" OnClick="Button3_Click" Text="退出" /></td>
            </tr>
            <tr>
                <td style="height: 62px">
                    &nbsp;</td>
                <td colspan="2" style="height: 62px">
                    &nbsp;</td>
                <td style="height: 62px" width="62">
                    <div align="center">
                        附件:</div>
                </td>
                <td style="height: 62px" width="315">
                    <asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="False" Font-Underline="False"
                        OnClick="LinkButton1_Click"></asp:LinkButton></td>
            </tr>
            <tr>
                <td colspan="7">
                    &nbsp;</td>
            </tr>
        </table>
    </form>
</body>
</html>

⌨️ 快捷键说明

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