string ping = "";
        if (txtzszt.Text == "")
        {
            ping = "";
        }
        else
        {
            ping = "Titles like '%" + txtzszt.Text.Trim() + "%' and ";
        }
        if (txtwdzy.Text == "")
        {        }
        else
        {
            ping += "realname like '%" + txtwdzy.Text.Trim() + "%'and ";
        }        if (this.txtstarttime.Text == "")
        {        }
        else
        {
            ping += "log_time like '%" + txtstarttime.Text.Trim() + "%'and ";
        }
       
        if (DropDownList1.SelectedItem.Text == "请选择")
        {        }
        else
        {
            ping += "leixing='" + DropDownList1.SelectedItem.Text + "'and ";
        }
       
        
        //查出当前节点的启用的数据
        string strSql = "select * from zongjie  where " + ping + "";
        try
        {            AspNetPager1.RecordCount = xy.DataALL(strSql).Rows.Count;
            lblcount.Text = Convert.ToString(AspNetPager1.RecordCount);
        }
        catch
        {        }