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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Dec 19, 2009, 11:09 PM
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 :)