creating mysql connection

  • 15 years ago
    How can I create sql conn. I don't wan to use components, some free way?

    Or if anyone can send me a sample code or point to some good article/tutor

    Thanx
  • 15 years ago
    hope this help u to connect from an asp page to mysql


    Set objConn = Server.CreateObject("ADODB.Connection")
    objConn.ConnectionString = "DSN=users"
    objConn.Open

    set objrs=Server.CreateObject("ADODB.recordset")

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration.” - E. W. Dijkstra