<%
urlStr = Request.ServerVariables("PATH_INFO")
%>
<% getLeftNav(getLabStr(urlStr)) %>
|
|
|
Image
<%
' Set up the Connection
adoRS.ActiveConnection = "Provider=MSDAOSP; Data Source=MSXML2.DSOControl.2.6;"
' Open the XML source
adoRS.Open Server.MapPath(".") & "\imgInfo.xml"
adoRS.Filter = imgFileFilter
'Response.Write( adoRS.Fields("thumbnail") & adoRS("id") & ": " & adoRS.Fields.Item("caption") )
'printtbl adoRS, 0
If Not (adoRS.EOF Or adoRS.BOF) Then
%>
<%=adoRS("caption")%>
<%
Else
%>
Image not found.
<%
End If
If adoRS.State = adStateOpen Then
adoRS.Close
End If
Set adoRS = Nothing
'Response.End
%>
|
|
|