예제 #1
0
 public static void LoadCOMN_JobExperiencePage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlCOMN_JobExperienceProvider sqlCOMN_JobExperienceProvider = new SqlCOMN_JobExperienceProvider();
     DataSet ds =  sqlCOMN_JobExperienceProvider.GetCOMN_JobExperiencePageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      cOMN_JobExperiencesPaggination(rptPager,recordCount, pageIndex, PageSize);
 }