How to create paging method to display a records without gridview or any other ASP.NET tools?
-
Hi, All I am using ASP.NET with C#(3.5) and SQL Server 2005. I want to display records from database and i am using datatable to store the records temporary. But here is some problem that how can i create paging and display wanted records and i put anchor tag for paging. I don't understand how to pass page no in anchor tag. And also i want to create dynamically the number of anchor tags in code behind file. For Ex: I want to display first 0-10 records after that 11-20 and so on.... How to create paging in datatable... Please give me the better solution.. Thanks in advance.. :)
-
Answer:
Maybe this will help: http://www.sql-tutorial.ru/en/book_paging.html
Amin at Yahoo! Answers Visit the source
Related Q & A:
- How can I allow user to create posts in website using ASP.NET?Best solution by Programmers
- How to Undo previous action in asp.net?Best solution by forums.asp.net
- How to Search using jQuery ASP.Net?Best solution by Stack Overflow
- How to create a Restful web service in .Net Using MySQL?Best solution by stackoverflow.com
- How to create an animated picture in a website?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.