Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2016
    Posts
    1

    Unanswered: How to connect MYSQL database from asp file?

    i have sample Code like this.Please let me know how to connect Mysql DB from these ASP file.i have installed MySQLODBC driver 5 on my machine.

    SQL="select fname,lname from Guest"

    set rs=Conn.Execute(SQL)

    response.write("")

    response.write("")

    while (not rs.EOF)

    response.write("")

    response.write("" & rs("fname") & "")

    response.write("" & rs("lname") & "")

    response.write("")

    rs.MoveNext()

    wend

    rs.close()

    conn.close()

    response.write("") %>

  2. #2
    Join Date
    Sep 2016
    Location
    Pune
    Posts
    16
    Thanks For sharing answer .Its really useful !!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •