Database.Query Method
Executes a SQL query that returns a list of rows as the result.
Assembly: WebMatrix.Data (in WebMatrix.Data.dll)
Parameters
- commandText
- Type: System.String
The SQL query to execute.
- parameters
- Type: System.Object[]
(Optional) Parameters to pass to the SQL query.