ASP.NET FileUpload 文件上传
- Html control
1
<html xmlns="http://www.w3.org/1999/xhtml" >
2
<head runat="server">
3
<title>Untitled Page</title>
4
</head>
5
<body>
6
<form id="form1" runat="server">
7
<div>
8
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
9
<input id="myFile" type="file" runat="server"/></div>
10
</form>
11
</body>
12
</html>
13

浙公网安备 33010602011771号