In a DataTable Select() method can I wrap the column name with a sql
function like LOWER()? The manner in which I tried failed.
For example, the code below does a simple Select to get an array of
DataRows.
DataRow[] rows = this.dataSet.Tables["StringValues"].Select("Values =
'" + newValue + "'");
However, I want to do the query case insensitive so I tried this, but
it doesn't work:
DataRow[] rows =
this.dataSet.Tables["StringValues"].Select("Lower(Values) = '" +
newValue.ToLower() + "'");
How could I go about doing a case insensitive Select on a datatable?
Thanks.
-M