// protected void btnCheckSelection_Click(object sender, EventArgs e) { Window1.Hidden = false; DataSet ds = bll.待处置库查询("待报废"); DataTable dt = ds.Tables[0].Copy(); //复制一份table Grid2.DataSource = dt; //DataTable Grid2.DataBind(); }
protected void 类别_SelectedIndexChanged(object sender, EventArgs e) { School申报审批BLL bll = new School申报审批BLL(); string flowstate = 类别.SelectedValue; DataSet ds = bll.待处置库查询(flowstate); DataTable dt = ds.Tables[0].Copy(); //复制一份table Grid2.DataSource = dt; //DataTable Grid2.DataBind(); }
protected void Button2_Click(object sender, EventArgs e) { School申报审批BLL bll = new School申报审批BLL(); Window2.Hidden = false; DataSet ds = bll.待处置库查询("待报废"); DataTable dt = ds.Tables[0].Copy(); //复制一份table Grid2.DataSource = dt; //DataTable Grid2.DataBind(); }