Esempio n. 1
0
        protected void PageInit()
        {
            int            wkid = Convert.ToInt32(Request["SpecialExpId"].ToString());
            SpecialExpInfo sp   = new SpecialExpInfo(wkid);

            lblApplyDate.Text   = sp.ApplyDate.ToString();
            lblApplyPeople.Text = sp.ApplyPeople.ToString();

            MainProjectCreateInfo project = new MainProjectCreateInfo(Convert.ToInt32(sp.MainProjectCreateId));

            lblMoneyNum.Text = project.PreMoney.ToString();
            lblProject.Text  = project.ProjectName.ToString();


            txtReason.Text = sp.ApplyReason.ToString();
            if (sp.ProjectStepId.ToString() != "")
            {
                ProjectStepInfo step = new ProjectStepInfo(Convert.ToInt32(sp.ProjectStepId));
                lblStep.Text = step.ProjectStepName.ToString();
            }
            lblApplyMoney.Text = sp.ApplyMoney.ToString();
            lblSheetNum.Text   = sp.SheetNum.ToString();

            if (sp.SignName == 1)
            {
                imgMarket.Visible = true;
            }
            else if (sp.SignName == 2)
            {
                imgMarket.Visible  = true;
                imgManager.Visible = true;
            }
        }
Esempio n. 2
0
        protected void SpecialBind()
        {
            int            wkid = Convert.ToInt32(Request["SpecialExpId"].ToString());
            SpecialExpInfo sp   = new SpecialExpInfo(wkid);

            lblApplyDate.Text   = sp.ApplyDate.ToString();
            lblApplyPeople.Text = sp.ApplyPeople.ToString();
            lblApplyMoney.Text  = sp.ApplyMoney.ToString();
            lblSheetNum.Text    = sp.SheetNum.ToString();



            MainProjectCreateInfo project = new MainProjectCreateInfo(Convert.ToInt32(sp.MainProjectCreateId));

            lblMoneyNum.Text = project.PreMoney.ToString();
            lblProject.Text  = project.ProjectName.ToString();


            lblReason.Text = sp.ApplyReason.ToString();
            if (sp.ProjectStepId.ToString() != "")
            {
                ProjectStepInfo step = new ProjectStepInfo(Convert.ToInt32(sp.ProjectStepId));
                lblStep.Text = step.ProjectStepName.ToString();
            }
        }