Click here to Skip to main content
15,741,947 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how do i navigate to records by using button first next last and previous using sqldatareader not sqldataadapter and proper messagebox shoud be display if i am at last,first record ...
José Amílcar Casimiro 18-Apr-13 16:32pm    
Look...SqlDataReader class, provides a way of reading a forward-only stream of rows from a SQL Server database. IF it is a requirement to use SqlDataReader, you will need to create your on index, for achieve data control navigation.

Unless this is your homework, i recommend you to change your code design.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900