View Single Post
Old January 21st, 2005, 12:43 AM
Santhi Santhi is offline
Friend of Wrox
Join Date: Oct 2003
Location: Chennai, TamilNadu, India.
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi

Picco i think you are beginner in ASP.You need to create database connection and execute the query.Find below the code

adv_book_time = Trim(Request.Form(adv_book_time))
If (adv_book_time <> "" )
    Set oConn = new Server.CreateObject("Adodb.Connection")
    oConn.ConnectionString = "DSN=UrDsnName;UID=sa"
    string strSql = "INSERT INTO company(adv_book_time) VALUES('" & adv_book_time & "');"
    oConn.Execute strSql

End If