public void BindPrograms() { int is_Fetch_Count = ucCustomPagerProgram_List.isCountRecord; DataSet ds_ProgramList_Scheduled = BLL_LMS_Training.Get_Programs_To_Sync(ucCustomPagerProgram_List.CurrentPageIndex, ucCustomPagerProgram_List.PageSize, ref is_Fetch_Count); gvProgram_ListDetails.DataSource = ds_ProgramList_Scheduled.Tables[0]; gvProgram_ListDetails.DataBind(); ucCustomPagerProgram_List.CountTotalRec = is_Fetch_Count.ToString(); ucCustomPagerProgram_List.BuildPager(); }