Ejemplo n.º 1
0
    void AdvanceSearch1_OnMySearchClick(object sender, EventArgs e)
    {
        ZcMng1_AdvanceSearch search1 = sender as ZcMng1_AdvanceSearch;

        if (search1 != null)
        {
            List <SearchField> list1 = search1.SearchConditon;

            U_ZCBU  zc1 = new U_ZCBU();
            DataSet ds1 = zc1.GetDepartZcInfo(list1, User.Identity.Name, this.danwei.Text, this.zeren.Text);
            this.GridView1.DataSource = ds1;
            this.GridView1.DataBind();
            zc1.Close();
            ds1.Dispose();
        }
    }