<!-- Arquivo de exemplo: ArquivoUpload.aspx-->
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ArquivoUpload.aspx.cs" Inherits="ArquivoUpload" %>
<html>
	<head runat="server">
		<title>Exemplo com o controle FileUpload</title>
	</head>
	<body>
		<form id="form1" runat="server">
			<div>
				<asp:Label ID="lblLegenda" runat="server" EnableViewState="False" 
				Text="Selecione um arquivo (.txt ou .doc)"></asp:Label>&nbsp;<br />
				<asp:FileUpload ID="FileUpload1" runat="server" EnableViewState="False" />
				<asp:Label ID="lblMensagem" ForeColor="Red" runat="server"></asp:Label>
				<table>
					<tr>
						<td style="width: 333px; height: 307px">
							<asp:TextBox ID="txtConteudo" runat="server" 
								EnableViewState="False" Height="301px"
								TextMode="MultiLine" Width="341px"></asp:TextBox>
						</td>
						<td style="width: 100px; height: 307px" valign="top">
							<asp:Button ID="btnUpload" runat="server" CausesValidation="False" 
								EnableViewState="False" OnClick="btnUpload_Click" Text="Upload" />
						</td>
					</tr>
				</table>
			</div>
		</form>
	</body>
</html>
