//查询功能的设计
    protected void ImgBtnSeach_Click(object sender, ImageClickEventArgs e)
    {
        string Cid = ddlCompany.SelectedValue.ToString();

        if (Cid == "0")
        {
            Cid = "";
        }
        string begin     = txtBegin.Text.Trim();
        string end       = txtEnd.Text.Trim();
        string datatime  = txtDate.Text.Trim();
        string datatime2 = txtDate2.Text.Trim();

        allInfo             = RegMan.GetAllRegisterTBByCid(Cid, begin, end, datatime, datatime2);
        anpPage.RecordCount = allInfo.Count;
        DisPlay();
        anpPage.CurrentPageIndex = 1;
    }