Ejemplo n.º 1
0
    /// <summary>
    /// 数据绑定体检登记
    /// </summary>
    public override void DataBind()
    {
        int      RecordCount = 0;
        DateTime?CheckDate   = EnvConverter.ToDateTime(txtCheckDate.Text);
        String   DeptName    = txtsDeptName.Text.Trim();

        RegistrationRepeater.DataSource = m_Registration.GetFormalRegistrations(Pager.CurrentPageIndex, Pager.PageSize,
                                                                                CheckDate, DeptName, out RecordCount);
        Pager.RecordCount = RecordCount;
        base.DataBind();
    }