public void BindTrainingItems() { int is_Fetch_Count = ucCustomPagerAllStatus.isCountRecord; DataTable dt = BLL_LMS_Training.Get_Training_Items_List(UDFLib.ConvertStringToNull(txtSearchItemName.Text), ucCustomPagerAllStatus.CurrentPageIndex, ucCustomPagerAllStatus.PageSize, ref is_Fetch_Count, Convert.ToInt32(Session["USERID"].ToString())); dtlItemList.DataSource = dt; dtlItemList.DataBind(); ucCustomPagerAllStatus.CountTotalRec = is_Fetch_Count.ToString(); ucCustomPagerAllStatus.BuildPager(); BindItemTreeView(); }