<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="FileUpload.WebForm1" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <title>WebForm1</title> <meta content="Microsoft Visual Studio 7.0" name="GENERATOR"> <meta content="C#" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <form id="Form1" method="post" encType="multipart/form-data" runat="server"> <INPUT id="File1" title="Select File To Upload!" style="FONT-SIZE: 9pt; Z-INDEX: 102; LEFT: 76px; WIDTH: 300px; FONT-FAMILY: Arial; POSITION: absolute; TOP: 150px; HEIGHT: 25px" type="file" maxLength="100000000" size="27" name="File1" runat="server"> <asp:button id="cmdUpload" style="Z-INDEX: 101; LEFT: 398px; POSITION: absolute; TOP: 150px" runat="server" Text="Upload" Width="90px" Height="25px"></asp:button> <asp:Label id="lblMessage" style="Z-INDEX: 104; LEFT: 76px; POSITION: absolute; TOP: 113px" runat="server" Width="300px" Height="25px" ForeColor="Red" Font-Bold="True"></asp:Label></form> </body> </HTML>
|