What if we write filterExpression equal to null or "" ? Will all the rows be selected?
+2
A:
Yes, I believe so.
In fact I more than believe so - having looked at Reflector (unfortunately the MSDN topic doesn't say anything about empty expressions) a filter is only applied if the expression is not empty or null.
That said - why bother doing that? Just iterate over the Rows or call the Select() method.
Andras Zoltan
2010-07-13 19:06:45