Check if no datarows returned

Viewed 8546

I have this which check for datarows which match an expression:

DataRow[] foundRows = this.callsTable.Select(searchExpression);

How do i check if it returns some datarows, so basically if it returns none don't do what's in the if function?

I have tried:

if (foundRows != null) { }
4 Answers
Related