I have a database that I would like users to be able to submit data to. My website is photo sharing site and I also want users to be able to upload a photo. I'm using a formview for users to submit the information (for the photo) to the database. I then use a FileUpload tool with the following background script, unfortunately when I run the site it tells me that the FileUpload1 does not exist.
<%@ Page language="C#" masterpagefile="master.master" title="You are about to upload a photo" %>
<asp:Content ID="head" runat="server" ContentPlaceHolderID="head">
<script runat="server">
protected void UploadButton_Click(object sender, EventArgs e)
{
// Save the uploaded file to an "Uploads" directory
&nb ...
Go to the complete details ...