Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have inserted a table in Sql Server. The table contains 5 rows.Now my query is i want to get only first 2 rows in one datagridview1 and next 2 rows in datagridview 2 for tis how should i execute the Query.


Regards
Balamurugan
Posted
Comments
sahabiswarup 28-Nov-12 0:47am    
in which condition you want to get that first two value ??

Just write that SQL query mentioning that condition and you'll find your solution easily.

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