%@ Language = "VBScript"%>
<% Response.Buffer = True %>
New Page 1

<%
set con=server.createobject("adodb.connection")
con.open "imacpak_upload-83" , "" , ""
set rs=server.createobject("adodb.recordset")
Rs.Open "Select * From Files",con,3,3
If Rs.Eof Then
Response.Write "No document available "
Else
If Not Rs.Eof Then
Rs.MoveLast
%>
|
List of
Publications and Electronic Documents |
|
Sr.
|
Document
|
Type
|
Size
|
<%
Do While Not Rs.BoF
%>
|
<%
Serial = Serial + 1
Response.Write Serial
%>
|
"><%=Rs("Doc_Name")%>
|
<%=Rs("ContentType")%>
|
<%=Rs("FileSize")%>
|
<%
If Rs("Description") <> "" Then
%>
|
<%=Rs("Description")%>
|
<%
End If
rs.MovePrevious
' If rs.EOF Then Exit For
Loop
End If
Rs.Close
Con.Close
Set Rs=Nothing
Set Con=Nothing
%>
|
|
<%
End If
%>