default.aspx
来自「这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代」· ASPX 代码 · 共 89 行
ASPX
89 行
<%@ 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>
</head>
<body style="text-align: center">
<form id="form1" runat="server">
<div>
<table cellpadding="0" cellspacing="0" style="width: 644px; background-image: url(Images/background.jpg); height: 401px;">
<tr>
<td style="height: 58px" colspan="4">
</td>
</tr>
<tr>
<td colspan="4" style="height: 84px">
</td>
</tr>
<tr>
<td colspan="2" style="height: 183px">
</td>
<td style="width: 184px; height: 183px">
<fieldset style="width: 240px">
<legend class="mainTitle"><span style="font-size: 11pt">将文件以二进制形式添加到数据库中</span></legend>
<table cellpadding="0" cellspacing="0" style="width: 290px">
<tr>
<td colspan="1" style="width: 52px; height: 30px">
</td>
<td colspan="2" style="height: 30px">
</td>
</tr>
<tr>
<td colspan="2" style="height: 30px">
<asp:Label ID="Label1" runat="server" Font-Size="11pt" Text="选择文件" Width="71px"></asp:Label></td>
<td align="left" style="width: 100px; height: 30px">
<asp:FileUpload ID="FileUpload1" runat="server" Font-Size="9pt" /></td>
</tr>
<tr>
<td colspan="2" style="height: 30px">
</td>
<td align="left" style="width: 100px; height: 30px">
<asp:Button ID="Button1" runat="server" Font-Size="9pt" OnClick="Button1_Click" Text="保存"
Width="72px" /></td>
</tr>
<tr>
<td colspan="2" style="height: 30px">
</td>
<td align="left" style="width: 100px; height: 30px">
<asp:Label ID="Label3" runat="server" Font-Size="9pt" Width="216px"></asp:Label></td>
</tr>
</table>
</fieldset>
</td>
<td style="width: 100px; height: 183px">
</td>
</tr>
<tr>
<td colspan="4" style="height: 56px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 10px">
</td>
<td style="width: 106px; height: 10px">
</td>
<td style="width: 184px; height: 10px">
</td>
<td style="width: 100px; height: 10px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 3px">
</td>
<td style="width: 106px; height: 3px">
</td>
<td style="width: 184px; height: 3px">
</td>
<td style="width: 100px; height: 3px">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?