Click here to Skip to main content
12,689,258 members (29,499 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#3.0 C#
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.

Posted 27-Nov-12 19:25pm
biswarup88 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170113.4 | Last Updated 28 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100