private ctCollection LoadData(string stextsearch) { Data objdata = new Data(Global.ConnectionSql); ctCollection col = null; try { ct obj = new ct(); obj.DataObject = objdata; col = obj.Getlist(stextsearch); } catch (Exception ex) { Global.WriteLogError("LoadCategory()" + ex); } finally { objdata.DeConnect(); } return(col); }