.NET Framework Class Library
Database.ExecuteQuery Method (String)
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Database Class > Database Methods > ExecuteQuery Method > .NET Framework Class Library |
Executes a query against the database. The query must be a valid SQL command that can be executed against the database. It does not return any result, it is used for commands like INSERT, UPDATE, DELETE, etc.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub ExecuteQuery ( _ query As String _ |
C# |
|---|
public void ExecuteQuery( string query |
Visual C++ |
|---|
public: void ExecuteQuery( |
JavaScript |
|---|
function executeQuery(query); |
Parameters
query
Type: System.String
The SQL query to execute.
See Also