void BumfClient_GetDocTypeInfosListBySearchCompleted(object sender, GetDocTypeInfosListBySearchCompletedEventArgs e) { loadbar.Stop(); try { if (e.Result != null) { //SelectBox = Utility.FindChildControl<CheckBox>(DaGr, "SelectAll"); BindDataGrid(e.Result.ToList(), e.pageCount); } else { BindDataGrid(null, 0); } //end = DateTime.Now; //TimeSpan ts = end.Subtract(start); //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"),ts.Seconds.ToString()+"M"+ ts.Milliseconds.ToString()); } catch (Exception ex) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString()); } }
void BumfClient_GetDocTypeInfosListBySearchCompleted(object sender,GetDocTypeInfosListBySearchCompletedEventArgs e) { loadbar.Stop(); try { if (e.Result != null) { //SelectBox = Utility.FindChildControl<CheckBox>(DaGr, "SelectAll"); BindDataGrid(e.Result.ToList(), e.pageCount); } else { BindDataGrid(null, 0); } //end = DateTime.Now; //TimeSpan ts = end.Subtract(start); //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"),ts.Seconds.ToString()+"M"+ ts.Milliseconds.ToString()); } catch (Exception ex) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString()); } }