ASP.NET FileUpload 文件上传

  1. 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

posted @ 2007-08-29 18:08  许晓光  阅读(214)  评论(0)    收藏  举报