예제 #1
0
    private void BindData()
    {
        DateTime dt1        = DateTime.Parse(Request.QueryString["dt1"]);
        DateTime dt2        = DateTime.Parse(Request.QueryString["dt2"]);
        int      kind       = int.Parse(Request.QueryString["kind"]);
        string   zeren      = Request.QueryString["zeren"];
        string   depart     = Request.QueryString["depart"];
        string   searchtype = Request.QueryString["searchtype"];
        U_ZCBU   zc1        = new U_ZCBU();
        DataSet  ds         = null;

        ds = zc1.GetDCZclist(dt1, dt2, kind, zeren, depart, searchtype);
        this.GridView1.DataSource = ds;
        this.GridView1.DataBind();
    }