Not sure if this is what you are looking for but its kind of cool none the less.
This will work if you want to auto populate update a drop down list box using information stored in a database. It's not the prettiest way to do it but it works.
<%
Option Explicit
Response.Expires = -1000
Dim Conn
Dim oRS
Dim sConnection
Dim sSQL
Set Conn = Server.CreateObject("ADODB.Connection"
sConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Server.MapPath("Path to my database" & ";" & _
"Persist Security Info=False"
Conn.Open(sConnection)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.