Skip Navigation Links
   Listen Software Solutions
 Email Request for Work
Better Ideas, Better Solutions 
Rain and Shine Cards
An exciting line of Jewelry and Cards by an unique designer with a Masters in Architecture
Site: 3 Id: 1276
ASP.Net, ADO, MS Access

ADO.NET CommandText, ExecuteNonQuery Active Server Pages

(1017 hits)

ADO code project notes

You can format your SQL directly and execute it. Here is a simple code snippet.

       objDB.Open()
       sSQL = "Update member set firstname='def' where membernumber=209"
       objDB.objCmd.Connection = objDB.objConn
       objDB.objCmd.CommandText = sSQL
       objDB.objCmd.ExecuteNonQuery()
       objDB.Close()