Beispiel #1
0
        internal bool AnyRows(IPresent ip, Rows data)
        {
            if (data == null || data.Data == null ||
                data.Data.Count <= 0)
            {
                string msg;
                if (this.NoRows != null)
                {
                    msg = this.NoRows.EvaluateString(ip.Report(), null);
                }
                else
                {
                    msg = null;
                }
                ip.DataRegionNoRows(this, msg);
                return(false);
            }

            return(true);
        }
Beispiel #2
0
		internal bool AnyRows(IPresent ip, Rows data)
		{
			if (data == null || data.Data == null ||
				data.Data.Count <= 0)
			{
				string msg;
				if (this.NoRows != null)
					msg = this.NoRows.EvaluateString(ip.Report(), null);
				else
					msg = null;
				ip.DataRegionNoRows(this, msg);
				return false;
			}

			return true;
		}