Пример #1
0
 public void GetDelegateList()
 {
     try
     {
         List <SearchLeadResult> resultList = SlmScr018Biz.GetLeadDelegateDataTab18_2(txtusername.Text.Trim());
         BindGridview(pcTop, resultList.ToArray(), 0);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 protected void PageSearchChange(object sender, EventArgs e)
 {
     try
     {
         List <SearchLeadResult> resultList = SlmScr018Biz.GetLeadDelegateDataTab18_2(txtusername.Text.Trim());
         var pageControl = (SLM.Application.Shared.GridviewPageController)sender;
         BindGridview(pageControl, resultList.ToArray(), pageControl.SelectedPageIndex);
     }
     catch (Exception ex)
     {
         string message = ex.InnerException != null ? ex.InnerException.Message : ex.Message;
         _log.Debug(message);
         AppUtil.ClientAlert(Page, message);
     }
 }