I can’t figure what is wrong with this code:
DataRow[] rowArray = new DataRow[tempTable.Rows.Count];
String expression = "ID != " + index.ToString();
rowArray = tempTable.Select(expression);
I get an error stating: “Cannot interpret token '!' at position 4.”
How should I write the expression string?
DataRow[] rowArray = new DataRow[tempTable.Rows.Count];
String expression = "ID != " + index.ToString();
rowArray = tempTable.Select(expression);
I get an error stating: “Cannot interpret token '!' at position 4.”
How should I write the expression string?