public static void GetUser_DoanhNghiep() { try { UserInfoDA _UserInfoDA = new UserInfoDA(); DataSet _ds = _UserInfoDA.UserInfo_GetByType((decimal)NaviCommon.Enum_User_Type.DoanhNghiep); c_lst_UserDoanhNghiep = NaviCommon.CBO <User_Info> .FillCollectionFromDataSet(_ds); } catch (Exception ex) { NaviCommon.Common.log.Error(ex.ToString()); } }
public byte[] UserInfo_GetByType(decimal p_type) { try { UserInfoDA _UserInfoDA = new UserInfoDA(); byte[] byteReturn; DataSet _ds = _UserInfoDA.UserInfo_GetByType(p_type); byteReturn = CompressionHelper.CompressDataSet(_ds); return(byteReturn); } catch (Exception ex) { NaviCommon.Common.log.Error(ex.ToString()); return(new byte[0]); } }