Most venerated pc guru's,
As a newbie to c# program who is conversant in vb.net I am getting used to c# syntax. One problem I have is getting the correct approach for establishing an adodb connection.
I'm doing a vb.net to c# conversion project.
Please see the code below.
I'm getting error results such as:
Object does not contain a definition for Open
Object does not contain a definition for BeginTrans
I'm stuck here and could use some working examples from creation of the connection to creation of a recordset.
internal object cn = null;
internal object rs = null;
cn = Server.CreateObject("ADODB.Connection");
rs = Server.CreateObject("ADODB.Recordset");
//On error resume next