Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
i want to merge the particular row in data grid view.how can i do?
 

output as follows in data grid view by using query in data grid view;
 

Date Course 1 2 3 4
 
15/1/2013 REO GS Null VB Null
16/1/2013 REO Null RJ Null SK
17/1/2013 REO TM Null RJ GS
18/1/2013 REO VRV RJ Null Ms
 

from the above output i want to show below as follows in data grid view;
 
Date Course 1 2 3 4
 
15/1/2013 REO GS Null VB Null
16/1/2013 Null RJ Null SK
17/1/2013 TM Null RJ GS
18/1/2013 VRV RJ Null Ms
 

 
from the above output i dont want to repeat the REO course for every date.the REO Course should be showed once in data grid view.
 
how can i do.
Posted 21-Jan-13 5:51am
Comments
Sandeep Mewara at 21-Jan-13 11:53am
   
Tried anything?
Gittu Dash at 21-Jan-13 14:18pm
   
I don't think it's possible to show data in only 1 row & then Hide in other rows.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
onurag19 at 22-Jan-13 3:04am
   
Nice answer 5+
jibesh at 22-Jan-13 17:20pm
   
Thank You.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 468
1 Sergey Alexandrovich Kryukov 305
2 PhilLenoir 115
3 RajeeshMenoth 110
4 Peter Leow 100
0 Sergey Alexandrovich Kryukov 6,557
1 OriginalGriff 5,966
2 CPallini 2,473
3 Richard MacCutchan 1,687
4 Abhinav S 1,540


Advertise | Privacy | Mobile
Web04 | 2.8.140821.2 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2014
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