내 웹 페이지의 목록 컨트롤에 표시해야하는 특정 쿼리의 결과가 있습니다.적절하게 표시 할 sql 쿼리 결과 재정렬
조회 한 결과,
4 items in descending order
쿼리 2 결과 : 실제로
Top 1 result
난 다음 나머지를 제 쿼리로부터 제 질의 먼저 결과로부터 첫 번째 결과를 표시 할 세 번째는 첫 번째 쿼리 결과입니다.
처음에는 행을 다시 배열하려고했지만 개별 행을 변경할 수 없기 때문에 데이터 컨트롤의 ItemTemplate에서 가능하지 않습니다.
항목의 올바른 순서를 표시하는 순서대로 결과를주는 형식으로 쿼리를 작성해야합니까? 예를 들어 :
Take the first result from top 4 item
+
Find the second result
+
Three items (minus the top one already that has been already extracted)
어떤 제안이?
편집
1st class: (has 4 student)
Tom (Has highest score)
Rex (Hss second highest score)
Rambo (HAs 3rd highest score)
Betty (Has least score)
2nd class: (has 1 student)
Spooky (Has the highest score)
Required result order in DataControl:
Tom
Spooky
Rex
Rambo
Betty
Actally 샘플이 도움이 될 것 – om471987
@Omkarpanhalkar : – Cipher
는 결과 모두 열 수 있습니다 예를 들어이 같은 추가? – PraveenVenu