/// <summary>
        /// 工程项目名称变化时,相应的信息跟随变化
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void ddlProjectName_IndexChanged(object sender, EventArgs e)
        {
            string PreFinishGuid = ddlProjectName.SelectedValue;
            //从初步验收表中获取相应的数据
            Detail_CAW_BANK_PREFINISH CBPFDetail = new CawBankPreFinish().GetDetail(PreFinishGuid);
            if (CBPFDetail.PROJECTNAME != null && CBPFDetail.PROJECTNAME.Trim() != "") //存在该项目
            {
                lbProjectAddress.Text = CBPFDetail.PROJECTADDRESS;
                lbCorName.Text = CBPFDetail.CORNAME;
                lbCorManager.Text = CBPFDetail.CORMANAGER;
                lbContactor.Text = CBPFDetail.CONTACTOR;
                lbContactorTel.Text = CBPFDetail.CONTACTORTEL;
                lbDesignerUnit.Text = CBPFDetail.DESIGNERUNIT;
                lbDesignerGrade.Text = CBPFDetail.DESIGNERGRADE;
                lbBuilderUnit.Text = CBPFDetail.BUILDERUNIT;
                lbBuilderGrade.Text = CBPFDetail.BUILDERGRADE;
                lbSupUnit.Text = CBPFDetail.SUPUNIT;
                lbSupUnitGrade.Text = CBPFDetail.SUPGRADE;
                lbSupervisionOrg.Text = CBPFDetail.SUPERVISIONORG;

            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
               txtApplicant.Text=Convert.ToString(Session["RealName"]);
               dtApplyDate.Text = DateTime.Now.ToShortDateString();
                //从初步验收验收申请中获取项目名称
               List<Detail_CAW_BANK_PREFINISH> ProjectList = new CawBankPreFinish().GetProject(Session["ORGID"].ToString());
                for (int i = 0; i < ProjectList.Count; i++)
                {
                    ddlProjectName.Items.Add(new ListItem(ProjectList[i].PROJECTNAME, ProjectList[i].GUID));
                }

                //生产新的实例Guid,上传附件需要用到
                ViewState["Guid"] = Guid.NewGuid().ToString();
            }
            new CommonFun().GetAttachment(Convert.ToString(ViewState["Guid"]), phAtt, "Line", "Delete", 1);
        }