DataEngine.AddToWhere

Adds a condition to the WHERE clause of a SQL statement.

public string AddToWhere(string SQLStatement,
	string Condition);

Return Value

The SQL statement with the condition added to the WHERE clause; if there was no WHERE clause in the statement, one is added.

Parameters

SQLStatement
The SQL statement to add a condition to.

Condition
The WHERE condition to add to the SQL statement.


See also:

Class DataEngine