Adding a row to the database

Results 1 to 2 of 2

Thread: Adding a row to the database

  1. #1
    Corin Guest

    Default Adding a row to the database

    Here&#039s my code bit which runs without errors<BR><BR>Dim Dconn<BR> Set Dconn = Server.CreateObject("ADODB.Connection")<BR> Dconn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Session("DatabasePath") & ";"<BR><BR> Dim SQL <BR> <BR> SQL = "INSERT INTO tblSecurity(name, email) VALUES (&#039" & Request.form("name") & "&#039,&#039" & Request.form("email") & "&#039)"<BR> <BR> Dconn.Execute SQL<BR> <BR> &#039Forward the user to page to notify of authentication<BR> &#039include code to let them return to their page<BR> Response.Redirect "youokman.asp"<BR><BR>However, it doesn&#039t enetr anything into the Access Database.<BR><BR>Any help is greatly appreciated<BR>

  2. #2
    Corin Guest

    Default Got it


Posting Permissions

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