public byte[] Contract_GetBy_User(string User_Name) { try { Contract_DA _objDA = new Contract_DA(); DataSet _ds = _objDA.Contract_GetBy_User(User_Name); return(CompressionHelper.CompressDataSet(_ds)); } catch (Exception ex) { NaviCommon.Common.log.Error(ex.ToString()); return(new byte[0]); } }