Click here to Skip to main content
15,887,476 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
1-i need to know how to group row like the attachment below
gridview — ImgBB[^]
2-i create tables (tb_company-tb_branch- tb_financial year )i want to show values from the three tables and show at data gridview then i want to save at another table(tb_active). any ideas to do that

What I have tried:

i create the tables but i didn't know how to do it.
Posted
Updated 10-Sep-22 23:22pm
Comments
RickZeeland 11-Sep-22 3:57am    
Can you provide some more information like:
- is it a WinForms or WPF application
- what database is used
- do you use databinding or do you fill the gridview using your own code
(also add some of the relevant code used please)
mohamed thrwat 11-Sep-22 4:30am    
it is winforms using sql database , i use my own code to fill the gridview , but i didn't do it yet. the photo at the attachment not mine . i wannt to do gridview as same as the photo at the attachment.

1 solution

See answers here: group-rows-in-datagridview[^]

And this article: How to Merge Cells in DataGridView | 10Tec[^]

This is not quite what you want, but might be useful too: CodeProject - DataGridViewGrouper[^]
 
Share this answer
 
v2
Comments
mohamed thrwat 11-Sep-22 6:01am    
thanks for help , your answer is the nearest one for me

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