
I want to create this type of gridview in Window Form in C#.
all column would be created dynamically.
How will i able to achieve this???

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pradeep ShetRank #595 · 4K reputationPosted Jan 29, 2015, 11:09 AM EST
Follow the steps
1)First fetch the data from sql in the desired format in dataset.
2)Add a DataGrid control on your form with template columns
3)Set the DataSource Property of DataGrid = dataset
Refer to below link
http://www.aspsnippets.com/Articles/Bind-data-to-DataGridView-in-Windows-Forms-Application-in-C-and-VBNet.aspx