|
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true"
CodeBehind="Index.aspx.cs" Inherits="UploaderAspNetMvc.Views.Uploads.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<% using (Html.BeginForm("Upload", "Uploads", FormMethod.Post, new { enctype = "multipart/form-data" }))
{ %>
Select file to upload: <input type="file" name="MyFile" id="MyFile" />
<br />
<input id="Upload" type="submit" value="Upload" />
<% } %>
</asp:Content>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.