Advertisement

04.03.2003 at 07:11PM PST, ID: 20573850
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

Urgent !! Paging of Records needed !!

Asked by hemanthsharma in Active Server Pages (ASP)

Tags: ,

Hello Experts!!

This is a Loop of code displaying records from a database.  I need a Paging script for displaying 10 records per page. I also need a page count [page x of x] at left bottom and Navigation buttons [FIRST|PREVIOUS|NEXT|LAST] which are according to the records displayed !! I hope u understand this !!

<%  If FlgEOF = 0 then 'RECORDS ARE PENDING
RS.MoveFirst
Do while not RS.EOF
%>
                         
<TR>
<TH WIDTH="15%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
Name
</TH>
<TD WIDTH="5%" BGCOLOR="#EFEFEF" ALIGN="CENTER" VALIGN="MIDDLE">
:
</TD>
<TD WIDTH="80%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
<%=RS.Fields(3)%>
</TD>
</TR>
<TR>
<TH WIDTH="15%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
Email
</TH>
<TD WIDTH="5%" BGCOLOR="#EFEFEF" ALIGN="CENTER" VALIGN="MIDDLE">
:
</TD>
<TD WIDTH="80%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
<%=RS.Fields(4)%>
</TD>
</TR>
<TR>
<TH WIDTH="15%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
Description
</TH>
<TD WIDTH="5%" BGCOLOR="#EFEFEF" ALIGN="CENTER" VALIGN="MIDDLE">
:
</TD>
<TD WIDTH="80%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
<%=RS.Fields(2)%>
</TD>
</TR>
<TR>
<TH WIDTH="15%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
Date | Time
</TH>
<TD WIDTH="5%" BGCOLOR="#EFEFEF" ALIGN="CENTER" VALIGN="MIDDLE">
:
</TD>
<TD WIDTH="80%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
<%=RS.Fields(5)%>
</TD>
</TR>
<TR>
<TH WIDTH="15%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
Source
</TH>
<TD WIDTH="5%" BGCOLOR="#EFEFEF" ALIGN="CENTER" VALIGN="MIDDLE">
:
</TD>
<TD WIDTH="80%" BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="MIDDLE">
&nbsp;
</TD>
</TR>
<TR>
<TD COLSPAN="3" WIDTH="100%" ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#EFEFEF">
<TEXTAREA COLS="70" ROWS="7"><%=RS.Fields(1)%></TEXTAREA>
</TD>
</TR>
<TR>
<TD COLSPAN="3" WIDTH="100%" ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#EFEFEF">
<INPUT TYPE="RADIO" NAME="<%=RS.Fields(0)%>_active" VALUE="1"> Add
<INPUT TYPE="RADIO" NAME="<%=RS.Fields(0)%>_active" VALUE="2"> Delete
</TD>
</TR>
<TR>
<TD COLSPAN="3" WIDTH="100%" ALIGN="RIGHT" VALIGN="TOP">
&nbsp;
</TD>
</TR>
                                                           
<%  
RS.MoveNext
Loop
%>
Start Free Trial
 
Loading Advertisement...
 
[+][-]04.03.2003 at 07:14PM PST, ID: 8266629

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Server Pages (ASP)
Tags: 10, page
Sign Up Now!
Solution Provided By: apollois
Participating Experts: 4
Solution Grade: C
 
 
[+][-]04.03.2003 at 10:45PM PST, ID: 8267502

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.04.2003 at 12:34AM PST, ID: 8267966

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 14-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.04.2003 at 06:47AM PST, ID: 8269848

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.26.2003 at 07:40AM PDT, ID: 8584520

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 - Hierarchy