Example #1
0
 protected void btnSearch_Click(object sender, EventArgs e)
 {
     try
     {
         var result = SlmScr034Biz.GetSearchResult(cmbInsComSearch.SelectedValue, cmbFileNameSearch.SelectedValue);
         BindGridview(pcTop, result.ToArray(), 0);
     }
     catch (Exception ex)
     {
         string message = ex.InnerException != null ? ex.InnerException.Message : ex.Message;
         _log.Error(message);
         AppUtil.ClientAlert(Page, message);
     }
 }
Example #2
0
        protected void PageSearchChange(object sender, EventArgs e)
        {
            var result = SlmScr034Biz.GetSearchResult(cmbInsComSearch.SelectedValue, cmbFileNameSearch.SelectedValue);

            BindGridview(pcTop, result.ToArray(), pcTop.SelectedPageIndex);
        }