Re: Basic Evaluation Question

  •  09-03-2008, 4:36 PM

    Re: Basic Evaluation Question

    I have a similar issue with evaluation.  I'm looking at the code for on multiple-files-upload.aspx (shown below):
     
      void ButtonTellme_Click(object sender, EventArgs e)
        {
            ListBoxEvents.Items.Clear();
            foreach (AttachmentItem item in Attachments1.Items)
            {
                InsertMsg(item.FileName + ", " + item.FileSize + " bytes.");
                //Copies the uploaded file to a new location.
                //args.CopyTo("c:""temp"""+item.FileName);

                //You can also open the uploaded file's data stream.
                //System.IO.Stream data = item.OpenStream();
            }
        }
     
    If I uncomment the highlighted line, I get a build error as there is no 'args' in this particular example.  I am stuck with code that creates some persistent .resx files.  Perhaps this was an error, or did I miss something, or am I supposed to just figure this out on my own...
View Complete Thread