Thanks for the help. That's what I was looking for
C
Corwin
@Corwin
0
Reputation
2
Posts
18
Profile views
0
Followers
0
Following
Best posts made by Corwin
This user hasn't posted anything yet.
Latest posts made by Corwin
-
C# record navigation
I have to do a record navigation web form in C#. It needs to be able to go to the next/previous record and go to a specific record number typed in by the user and fill the form with the data for that record. I'm using sql server as the database. I was wondering what is the best way to find the specific record. I could pull it from a DataTable but that loads the entire table into memory first. Looping though a SqlDataReader just to find the one record just seems wrong. The table could have 10000 records in it. Most of the time( 80%), it will probably have about 300 or less. Any thoughts on the best way to do this? Thanks