/// <summary> /// 数据绑定体检登记 /// </summary> public override void DataBind() { int RecordCount = 0; //DateTime? RegisterDate = EnvConverter.ToDateTime(txtSRegisterDate.Text); String DeptName = txtsDeptName.Text.Trim(); DateTime?RegisterDate = EnvConverter.ToDateTime(txtSRegisterDate.Text); RegistrationRepeater.DataSource = m_Registration.GetAppointments(Pager.CurrentPageIndex, Pager.PageSize, RegisterDate, DeptName, out RecordCount); Pager.RecordCount = RecordCount; base.DataBind(); }