How can I achieve that my Header row in my DataGridView consists of 2 rows (double lines).
i.e. instead of "Region Code" in the Header
Region
Code
Thanks and Kind Regards,
Baily
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 attend4days leftRegister
Kirtan PatelRank #292 · 8.6K reputationPosted Dec 19, 2009, 6:09 PM EST
Se Header like below to Achieve what you want !!
dataGridView1.Columns[0].HeaderText = "Region \n Code";
if my answer helps you then check "do you like this answer" check box please :)