NET Caching Library Help
ExecuteNonQuery(String) Method




KellermanSoftware.NetCachingLibrary.DatabaseProviders Namespace > BaseDatabaseProvider Class > ExecuteNonQuery Method : ExecuteNonQuery(String) Method
The SQL text to execute
Execute a query and return the number of affected records
Syntax
'Declaration
 
Public Overloads Overridable Function ExecuteNonQuery( _
   ByVal sql As System.String _
) As System.Integer
'Usage
 
Dim instance As BaseDatabaseProvider
Dim sql As System.String
Dim value As System.Integer
 
value = instance.ExecuteNonQuery(sql)
public virtual System.int ExecuteNonQuery( 
   System.string sql
)
public: virtual System.int ExecuteNonQuery( 
   System.string* sql
) 
public:
virtual System.int ExecuteNonQuery( 
   System.String^ sql
) 

Parameters

sql
The SQL text to execute
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

BaseDatabaseProvider Class
BaseDatabaseProvider Members
Overload List