problem with navigating multi page html report

Hi,

I have to generate a report using asp.net which contains hundreds of records.

=>I created a HTML table in this format.

Response.Write("");
Response.Write(" Employee ID ");

Response.Write(" Employee Name ");

Response.Write(" ManagerName ");

Response.Write(" Salary ");

Response.Write("");

=>I wrote three queries to fetch(Empid,EmpName,ManagerName,Salary) and the result is multiples
of hundred.


=>I populated the HTML table with the code below

Response.Write("");
Response.Write(EmpID);
Response.Write("");
Response.Write("");
Response.Write(dr2["EmpName"]);
Response.Write("");
Response.Write("");
Response.Write(dr2["ManagerName"]);
Response.Write("");
Response.Write("");
Response.Write(dr2["Salary"]);
Response.Write("");
Response.Write("");


=>Now I have to navigate through the report.

-> *Each page should consist of 30 records.
*When the user click "NEXT" button it should display the next 30 records up to
the last 30 records.

->Print Prints the current report

->Export Export the contents of the report in Excel


Can any one help me Solving this problem.

Thanks in advance

Thanks and Regards,
Ram



Loader.
Up arrow icon