S
sam
I use this for selecting rows that match a specific case:
DataRow[] foundRows =
dSet.Tables["MY_TABLE"].Select(IIF("column1="+DBNull.Value, "column2",
"column3"));
Compiling error, because IIF is not valid in this context ?
What is the correct syntax for using IIF in a select ?
Sam
DataRow[] foundRows =
dSet.Tables["MY_TABLE"].Select(IIF("column1="+DBNull.Value, "column2",
"column3"));
Compiling error, because IIF is not valid in this context ?
What is the correct syntax for using IIF in a select ?
Sam