Knight Data Access Layer
ExecuteNonQuery(String) Method




KellermanSoftware.NetDataAccessLayer.Providers Namespace > MsAccessProvider Class > ExecuteNonQuery Method : ExecuteNonQuery(String) Method
The SQL text to execute
Execute a query and return the number of affected records
Syntax
Public Overloads Overrides Function ExecuteNonQuery( _
   ByVal sql As String _
) As Integer
Dim instance As MsAccessProvider
Dim sql As String
Dim value As Integer
 
value = instance.ExecuteNonQuery(sql)
public override int ExecuteNonQuery( 
   string sql
)
public: int ExecuteNonQuery( 
   string* sql
) override 
public:
int ExecuteNonQuery( 
   String^ sql
) override 

Parameters

sql
The SQL text to execute

Return Value

System.Int32.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MsAccessProvider Class
MsAccessProvider Members
Overload List