Hi there,
I am trying to populate the array "yourImages " in the following code,
except i am trying to fill it with the values from an access database.
I already publish info from the database to an asp page, but i would like to
preload the images.
I open the database successfully like this
---------------
<%
If IsObject(Sessio n("Fragrance_co nn")) Then
Set conn = Session("Fragra nce_conn")
Else
Set conn = Server.CreateOb ject("ADODB.Con nection")
conn.open "Fragrance","", ""
Set Session("Fragra nce_conn") = conn
End If
%>
<%
If IsObject(Sessio n("retail_rs" )) Then
Set rs = Session("retail _rs")
Else
sql = "SELECT * FROM [retail]"
Set rs = Server.CreateOb ject("ADODB.Rec ordset")
rs.Open sql, conn, 3, 3
If rs.eof Then
rs.AddNew
End If
Set Session("retail _rs") = rs
End If"
---------------------
The record i want to use is
rs.Fields("Imag es").Value
Could anyone please help me out?
Thanks
I am trying to populate the array "yourImages " in the following code,
except i am trying to fill it with the values from an access database.
I already publish info from the database to an asp page, but i would like to
preload the images.
I open the database successfully like this
---------------
<%
If IsObject(Sessio n("Fragrance_co nn")) Then
Set conn = Session("Fragra nce_conn")
Else
Set conn = Server.CreateOb ject("ADODB.Con nection")
conn.open "Fragrance","", ""
Set Session("Fragra nce_conn") = conn
End If
%>
<%
If IsObject(Sessio n("retail_rs" )) Then
Set rs = Session("retail _rs")
Else
sql = "SELECT * FROM [retail]"
Set rs = Server.CreateOb ject("ADODB.Rec ordset")
rs.Open sql, conn, 3, 3
If rs.eof Then
rs.AddNew
End If
Set Session("retail _rs") = rs
End If"
---------------------
The record i want to use is
rs.Fields("Imag es").Value
Could anyone please help me out?
Thanks
Comment