Ejemplo n.º 1
0
 protected void btnUpload_Click(object sender, EventArgs e)
 {
     try
     {
         FileUpload    fUpload = gvFiles.FooterRow.FindControl("fileUploadsCart") as FileUpload;
         FacadeManager facade  = new FacadeManager();
         if (Session["orderid"] != null)
         {
             facade.UploadFile(fUpload, Session["orderid"].ToString());
             GetFileList();
         }
     }
     catch (Exception ex)
     {
     }
 }
Ejemplo n.º 2
0
 protected void UploadFile_Click(object sender, EventArgs e)
 {
     try
     {
         FileUpload    fUpload = gvFiles.FooterRow.FindControl("UploadFile_Click") as FileUpload;
         FacadeManager facade  = new FacadeManager();
         if (ViewState["OrderID"] != null)
         {
             facade.UploadFile(fileUploadsCart, ViewState["OrderID"].ToString());
             GetFileList();
         }
     }
     catch (Exception ex)
     {
     }
 }