473,566 Members | 3,307 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Grid data group





Hi guys!

I'm facing some problem with the data grid. My table data is something like this



Group
Name
isMarried

Friends
Frd1
true

Friends
Frd2
true

Friends
Frd3
false

Friends
Frd4
true

Family
Fmly1
true

Family
Fmly2
false

Family
Fmly3
false

Relatives
Rlt1
true

Relatives
Rlt2
false




But in my data grid I want to show this as

Group
Name
isMarried

Friends
Frd1
true


Frd2
true


Frd3
false


Frd4
true

Family
Fmly1
true


Fmly2
false


Fmly3
false

Relatives
Rlt1
true


Rlt2
false




Plz suggest me how to do this.

Thanx

Alok Kumar



Nov 13 '05 #1
1 2285
Guys I've got solution of this problem.
ALok

Hi guys!

I'm facing some problem with the data grid. My table data is something like
this

Group
Name
isMarried

Friends
Frd1
true

Friends
Frd2
true

Friends
Frd3
false

Friends
Frd4
true

Family
Fmly1
true

Family
Fmly2
false

Family
Fmly3
false

Relatives
Rlt1
true

Relatives
Rlt2
false


But in my data grid I want to show this as

Group
Name
isMarried

Friends
Frd1
true
Frd2
true
Frd3
false
Frd4
true

Family
Fmly1
true
Fmly2
false
Fmly3
false

Relatives
Rlt1
true
Rlt2
false


Plz suggest me how to do this.

Thanx

Alok Kumar



Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1800
by: Marc | last post by:
Hi all, Perplexed by this. I thought the sticky option was supposed to accomplish this task, but it doesn't seem to be working. Here is what I'm trying to accomplish. Window ---------------------------- | --Beginning of group-- | Cell1 Cell2 Cell3
9
6661
by: Michael Howes | last post by:
I'm looking for a power grid control to use for some C#/Windows forms development. There are a LOT of grids out there and trying to analyzes them could turn into a long task. Some things I'm looking for; Grouping (TreeGrid capabilities) Outlook style group by Built in filtering a plus but not required Works in most recent version of...
2
3030
by: Peter | last post by:
Does anyone have an example of how to format VS 2003 Data Grid that looks like the example below? I want the data to be grouped by the Date Field and display one date for each group of dates and the date to be the heading for each group. ------------------------------------------------------ | | Consignee | Location |...
1
1326
by: Hrvoje Voda | last post by:
I'm reading information from store procedure and I would like to put the result in dataGrid. In all examples and books about working with store procedures is the example only with console. I'm using windows form. My code: void SearchSastojci(string sastojci)
1
1375
by: Peter | last post by:
Does anyone have an example of how to format VS 2003 Data Grid that looks like the example below? I want the data to be grouped by the Date Field and display one date for each group of dates and the date to be the heading for each group. ------------------------------------------------------ | | Consignee | Location |...
117
18440
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of elements in the HTML to get everything just right. When you consider the class attribute on the DIV elements, there's not much size savings anymore...
1
1547
by: DarkBlue | last post by:
Hello pythoncard wx 2.6.1 python 2.4.x kinterbasdb firebird I have a wx.grid filled with data from a database one of the fields is a blob field with text data, which
1
2123
sujathaeeshan
by: sujathaeeshan | last post by:
Hi All, I am doing UI design(form design modifications) not programmatically. I am facing problem while appplying font to Data grid column . Here i am placing Data Grid within GroupBox. When i apply the Group box text font as Arial and bold this formatting applies to all controls which is placed inside the group box. But when i try to...
1
1662
sujathaeeshan
by: sujathaeeshan | last post by:
Hi All, I am doing UI design(form design modifications) not programmatically. I am facing problem while appplying font to Data grid column . Here i am placing Data Grid within GroupBox. When i apply the Group box text font as Arial and bold this formatting applies to all controls which is placed inside the group box. But when i try to...
0
7893
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8109
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7645
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7953
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2085
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.