Author: Pestfuerst | Posted on: 8/31/2008 6:26:13 AM | Views : 315

 Hi!
I am trying to upload a file using the Fileupload-Control. Here is my code.
   
 public Button hoch;
 public FileUpload comma;
  protected override void CreateChildControls()
        {
            base.CreateChildControls();

            Button hoch = new Button();
            hoch.Text = "Upload";
            hoch.Click += new EventHandler(hoch_ButtonClick);
            this.Controls.Add(hoch);

            FileUpload comma = new FileUpload();
          ...

Go to the complete details ...