private void ShowInfo(string strWhere) { UserModel model1 = (UserModel)this.Session["User"]; DataSet list = new ReportPublicBll().GetList(strWhere, "v_quota_pass"); if (list.Tables[0].Rows.Count == 0) { list.Tables[0].Rows.Add(list.Tables[0].NewRow()); } this.gvResult.DataSource = list.Tables[0]; this.gvResult.DataBind(); }
private void ShowInfo(string strWhere) { if ((strWhere == null) || (strWhere.Trim() == "")) { strWhere = " 1=1 "; } UserModel model1 = (UserModel)this.Session["User"]; DataSet list = new ReportPublicBll().GetList(strWhere, "v_quota_accept"); if (list.Tables[0].Rows.Count == 0) { list.Tables[0].Rows.Add(list.Tables[0].NewRow()); } this.gvResult.DataSource = list.Tables[0]; this.gvResult.DataBind(); }
private void ShowInfo(string strWhere) { UserModel model1 = (UserModel)this.Session["User"]; if ((strWhere == null) || (strWhere.Trim() == "")) { strWhere = " 1=1 "; } this.Bianzdw = this.Session["companyname"].ToString(); DataSet list = new ReportPublicBll().GetList(strWhere, "V_PD_BZFFLIST_QUERY"); if (list.Tables[0].Rows.Count == 0) { list.Tables[0].Rows.Add(list.Tables[0].NewRow()); } this.gvResult.DataSource = list.Tables[0]; this.gvResult.DataBind(); }
private void ShowInfo(string strWhere) { DataSet list = new ReportPublicBll().GetList(strWhere, "view_inspection_list"); if (list.Tables[0].Rows.Count == 0) { list.Tables[0].Rows.Add(list.Tables[0].NewRow()); } this.gvResult.DataSource = list.Tables[0]; this.gvResult.DataBind(); }
private void ShowInfo(string strWhere, string pd_project_auto_no) { DataSet list = new ReportPublicBll().GetList("项目编码='" + base.Request["UpdatePK"].ToString() + "' and auto_no='" + pd_project_auto_no + "' ", "V_INSPECTION_BZ3"); if ((list.Tables.Count > 0) && (list.Tables[0].Rows.Count > 0)) { this.lblxname.Text = list.Tables[0].Rows[0]["县名"].ToString(); this.lblxz.Text = list.Tables[0].Rows[0]["建账单位名称"].ToString(); this.监管资金名称.Text = list.Tables[0].Rows[0]["监管资金名称"].ToString(); this.监管依据.Text = list.Tables[0].Rows[0]["监管依据"].ToString(); this.补贴范围.Text = list.Tables[0].Rows[0]["补贴范围"].ToString(); this.指标文号.Text = list.Tables[0].Rows[0]["指标文号"].ToString(); this.指标额度.Text = list.Tables[0].Rows[0]["指标额度"].ToString(); this.补助对象.Text = list.Tables[0].Rows[0]["补助对象"].ToString(); this.补贴标准.Text = list.Tables[0].Rows[0]["补贴标准"].ToString(); this.补助人数.Text = list.Tables[0].Rows[0]["补助人数"].ToString(); this.公示.Text = list.Tables[0].Rows[0]["公示"].ToString(); this.公示主体.Text = list.Tables[0].Rows[0]["公示主体"].ToString(); this.是否公示.Text = list.Tables[0].Rows[0]["是否公示"].ToString(); this.监管记录.Text = list.Tables[0].Rows[0]["监管记录"].ToString(); this.监管人签名.Text = list.Tables[0].Rows[0]["监管人签名"].ToString(); this.监管结论.Text = list.Tables[0].Rows[0]["监管结论"].ToString(); this.财政所意见.Text = list.Tables[0].Rows[0]["财政所意见"].ToString(); this.财政所长签名.Text = list.Tables[0].Rows[0]["财政所长签名"].ToString(); } }