% If Session("MemberId") <> "" Then %>
<%
Dim Conn,Rs,i,Cnt,start,ends,Pg,MCnt,Recs,TPg,l
Dim curPage, pageSize, numPages
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath("aijbeass.mdb")
Set Rs = Server.CreateObject("ADODB.RecordSet")
Rs.Open "Questions",Conn,adOpenKeyset ,adLockOptimistic, adCmdTable
Rs.Filter = "Answer <> 'N' "
If Rs.RecordCount <> 0 Then
pageSize = 10
If Request.QueryString ("page") <> "" Then
curPage = CInt (Request.QueryString("page"))
Else
curPage = 1
End If
End If
If Rs.RecordCount <> 0 Then
Rs.PageSize = pageSize
numPages = Rs.PageCount
If curPage > numPages Then curPage = numPages
Rs.AbsolutePage = curPage
End If
%>
FAQ
|
| Home | Profile | Member Registration | FAQ | Feedback | Contact Us | |