protected void btnUpload_Click(object sender, EventArgs e)
    {
        HttpPostedFile pofPDF = fuPDF.PostedFile;
        HttpPostedFile pofDOC = fuDOC.PostedFile;
        HttpPostedFile pofFigure = fuFigures.PostedFile;
        HttpPostedFile TableOfContent = fuTable.PostedFile;
        string Comment = txtbComment.Text;
        //
        PaperInfoMan_Business paperInfoMan = new PaperInfoMan_Business();
        int paperID = System.Convert.ToInt32(FormBase.UrlDecode(Request[RequestMSG.SubmitOnline]));
        DBmessage dbm = paperInfoMan.RegisterPaper_Step3(pofPDF, pofDOC, pofFigure, TableOfContent, Comment, paperID);
        if (dbm.Type == DBMessageType.Sucsess)
        {
            FormBase.SendRequest(ServerDirectory.Paper + "/SubmitOnline_Step4.aspx", new string[] { RequestMSG.SubmitOnline }, new string[] { paperID.ToString() });
        }
        else
            ShowNotify(dbm);
        //string FileName = System.IO.Path.GetFileName(soPostedFile.FileName);
        //if (soPostedFile == null)
        //{
        //    return;
        //}
        //string strFileName = System.IO.Path.GetFileName(soPostedFile.FileName);
        //string strFileExtension = System.IO.Path.GetExtension(strFileName).ToUpper();
        //if ((strFileExtension != ".DOCX") && (strFileExtension != ".DOC"))
        //{
        //    //  DisplayErrorMessage("You Can Upload Just Doc  & Docx");
        //    return;
        //}

        //string strRootRelativePath = "~/Uploaded";
        //string strPath = Server.MapPath(strRootRelativePath);
        //string strPathName = string.Format("{0}\\{1}{2}", strPath, strFileName, strFileExtension);
        //soPostedFile.SaveAs(strPathName);
    }
    protected void btnUpload_Click(object sender, EventArgs e)
    {
        HttpPostedFile pofPDF         = fuPDF.PostedFile;
        HttpPostedFile pofDOC         = fuDOC.PostedFile;
        HttpPostedFile pofFigure      = fuFigures.PostedFile;
        HttpPostedFile TableOfContent = fuTable.PostedFile;
        string         Comment        = txtbComment.Text;
        //
        PaperInfoMan_Business paperInfoMan = new PaperInfoMan_Business();
        int       paperID = System.Convert.ToInt32(FormBase.UrlDecode(Request[RequestMSG.SubmitOnline]));
        DBmessage dbm     = paperInfoMan.RegisterPaper_Step3(pofPDF, pofDOC, pofFigure, TableOfContent, Comment, paperID);

        if (dbm.Type == DBMessageType.Sucsess)
        {
            FormBase.SendRequest(ServerDirectory.Paper + "/SubmitOnline_Step4.aspx", new string[] { RequestMSG.SubmitOnline }, new string[] { paperID.ToString() });
        }
        else
        {
            ShowNotify(dbm);
        }
        //string FileName = System.IO.Path.GetFileName(soPostedFile.FileName);
        //if (soPostedFile == null)
        //{
        //    return;
        //}
        //string strFileName = System.IO.Path.GetFileName(soPostedFile.FileName);
        //string strFileExtension = System.IO.Path.GetExtension(strFileName).ToUpper();
        //if ((strFileExtension != ".DOCX") && (strFileExtension != ".DOC"))
        //{
        //    //  DisplayErrorMessage("You Can Upload Just Doc  & Docx");
        //    return;
        //}

        //string strRootRelativePath = "~/Uploaded";
        //string strPath = Server.MapPath(strRootRelativePath);
        //string strPathName = string.Format("{0}\\{1}{2}", strPath, strFileName, strFileExtension);
        //soPostedFile.SaveAs(strPathName);
    }