private void DataBind()
 {
     string where = string.Empty;
     if (!string.IsNullOrEmpty(jobID.Value.Trim()))
     {
         where += string.Format("and JobInfo.JobID like '%{0}%' ", jobID.Value.Trim());
     }
     if (!string.IsNullOrEmpty(companyName.Value.Trim()))
     {
         where += string.Format("and JobInfo.EnterpriseName like '%{0}%' ", companyName.Value.Trim());
     }
     if (!string.IsNullOrEmpty(jobSelect.Value))
     {
         where += string.Format("and JobInfo.JobType='{0}'", jobSelect.Value);
     }
     DataAccess.RunProcedure pro = new DataAccess.RunProcedure();
     //repeater.DataSource = pro.ManagerList(CardPrinting.PageBase.CommonObject.ManagerUserInfo.department.ToString());
     repeater.DataSource = pro.HistoryList(where);
     repeater.DataBind();
 }