trunk/src/LythumOSL.Core/Data/LythumDataTable.cs
/// <summary>
/// Checks do any records exist by given filter
/// </summary>
/// <param name="table">table</param>
/// <param name="filterExpression">
/// typical DataTable.Select filterExpression
/// </param>
/// <returns>true if exist, false if not</returns>
Checks do any records exist by given filter
Checks do any records exist by given filter
public static bool AnyRecordsExist (DataTable table, string filterExpression)
		{
			DataRow[] rows = table.Select (filterExpression);
			return rows.Length > 0;
		}
public static bool AnyRecordsExist ( DataTable table , string filterExpression ) { DataRow [ ] rows = table . Select ( filterExpression ) ; return rows . Length > 0 ; }
Checks do any records exist by given filter
Checks do any records exist by given filter
true if exist, false if not
true if exist false if not
table
DataTable
None
filterExpression
string
typical DataTable.Select filterExpression
typical DataTable . Select filterExpression