private void ShowInfo(string strid) { Maticsoft.BLL.NewPort.Table_project bll = new Maticsoft.BLL.NewPort.Table_project(); Maticsoft.Model.NewPort.Table_project model = bll.GetModel(strid); this.lbl_number.Text = model.project_id.ToString(); this.lbl_type.Text = model.project_type.ToString(); this.lbl_name.Text = model.project_name.ToString(); this.lbl_owner.Text = model.project_owner.ToString(); this.lbl_address.Text = model.project_positon.ToString(); this.lbl_apc.Text = model.project_designCapacity.ToString(); this.lbl_dis.Text = model.project_coveredArea.ToString(); this.lbl_money.Text = model.project_totalInvestment.ToString(); this.lbl_startyear.Text = string.Format("{0:d}", model.project_constrStartTime); this.lbl_overyear.Text = string.Format("{0:d}", model.project_constrEndTime); this.TextContent.Text = model.project_constrContent.ToString(); /* * string radiobuttonvalue = model.project_check.ToString(); * if (radiobuttonvalue == "审核通过") * { * this.radiono.Checked = false; * this.radioyes.Checked = true; * } * if (radiobuttonvalue == "审核未通过") * { * this.radiono.Checked = true; * this.radioyes.Checked = false; * } * else * { * this.radioyes.Checked = false; * this.radiono.Checked = false; * } * Label1.Text = radiobuttonvalue;*/ }
private void ShowInfo(string estrid) { Maticsoft.BLL.NewPort.Table_project bll = new Maticsoft.BLL.NewPort.Table_project(); Maticsoft.Model.NewPort.Table_project model = bll.GetModel(sfid); this.lbl_enumber.Text = model.project_id.ToString(); this.lbl_PlanType.Text = model.project_type.ToString(); this.lbl_ename.Text = model.project_name.ToString(); this.lbl_eowner.Text = model.project_owner.ToString(); this.lbl_eaddress.Text = model.project_positon.ToString(); this.lbl_emoney.Text = model.project_totalInvestment.ToString(); }
private void mShowInfo(string strid) { Maticsoft.BLL.NewPort.Table_project bll = new Maticsoft.BLL.NewPort.Table_project(); Maticsoft.Model.NewPort.Table_project model = bll.GetModel(strid); this.lbl_mnumber.Text = model.project_id.ToString(); this.lbl_mtype.Text = model.project_type.ToString(); this.lbl_mname.Text = model.project_name.ToString(); this.lbl_mowner.Text = model.project_owner.ToString(); this.lbl_maddress.Text = model.project_positon.ToString(); this.lbl_mapc.Text = model.project_designCapacity.ToString(); this.lbl_mdis.Text = model.project_coveredArea.ToString(); this.lbl_mmoney.Text = model.project_totalInvestment.ToString(); this.lbl_mstartyear.Text = model.project_constrStartTime.ToString(); this.lbl_moveryear.Text = model.project_constrEndTime.ToString(); }
private void eShowInfo(string estrid) { Maticsoft.BLL.NewPort.Table_project bll = new Maticsoft.BLL.NewPort.Table_project(); Maticsoft.Model.NewPort.Table_project model = bll.GetModel(estrid); this.lbl_enumber.Text = model.project_id.ToString(); this.input1.Value = string.Format("{0:d}", model.project_constrStartTime); this.input2.Value = string.Format("{0:d}", model.project_constrEndTime); this.lbl_ename.Text = model.project_name.ToString(); this.lbl_eowner.Text = model.project_owner.ToString(); this.lbl_eaddress.Text = model.project_positon.ToString(); this.lbl_eapc.Text = model.project_designCapacity.ToString(); this.lbl_edis.Text = model.project_coveredArea.ToString(); this.lbl_emoney.Text = model.project_totalInvestment.ToString(); this.eTextContent.Text = model.project_constrContent.ToString(); this.DDLState.SelectedValue = model.project_state.ToString(); }
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { Maticsoft.BLL.NewPort.Table_project bll = new Maticsoft.BLL.NewPort.Table_project(); Maticsoft.Model.NewPort.Table_project model = bll.GetModel(DropDownList1.SelectedValue.ToString().Trim()); this.lblName.Text = model.project_name.ToString(); }