Click here to Skip to main content
15,904,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
output as follows in data grid view 1

Date Session RK CMK CNN Gs VB JN (Faculty Name)

7/1/2013 1 REO PH2 REO TAS AM VH
7/1/2013 2 PH2 AM TAs AM VH REO
7/1/2013 3 AM TAs REO PH2 VH TAS
8/1/2013 1 PH2 REO TAS VH AM PH2
8/1/2013 2 AM PH2 REO AM VH TAs
8/1/2013 3 TAs AM VH REO VH PH2

i want the report which faculty has taken course on date and session wise ;

for example RK(Faculty Name)

i want output as follows in data grid view 2 ; RK(Faculty Name) from the data grid view 1


RK(Faculty Name)

Date Session Course
7/1/2013 1 REO
7/1/2013 2 PH2
7/1/2013 3 AM
8/1/2013 1 PH2
8/1/2013 2 AM
8/1/2013 3 TAs
Posted
Comments
Sandeep Mewara 10-Jan-13 23:47pm    
And the issue is? What have you tried so far? Where are you stuck?

1 solution

What you are looking for is a PIVOT query, try this article[^]
 
Share this answer
 

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