How to display data in datagridview starting from the record which we pass at runtime? In C#
For example, there is 10 rows in a table. When i run the app i'll pass 5th record's value so it should show all data of table starting from 5th row.
Jigs28 0 Light Poster
Recommended Answers
Jump to Post@jigs28: I'm also confused, but as to what you are doing and what is the problem. Feel free to start a thread of your own and not hijack a totally different issue. As you seem to have problems with your query (AND & OR I'm guessing go to the query) …
Jump to PostAND will only return one record if there is only one record matching the where clause. If you have multiple rows that match you will get multiple rows back, for example if your table holds the following data
FLD1 | FLD2 | FLD3
XXX | 111 | A
XXX …
All 8 Replies
M.Waqas Aslam 67 Posting Pro in Training Featured Poster
Jigs28 0 Light Poster
adam_k 239 Master Poster
ChrisPadgham 113 Posting Whiz
Jigs28 0 Light Poster
M.Waqas Aslam 67 Posting Pro in Training Featured Poster
Jigs28 0 Light Poster
M.Waqas Aslam 67 Posting Pro in Training Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.