Vertical Lines in ListView
hi,
Can anyone guide me how to add vertical lines in ListView using C#. I only want to add vertical lines and not the horizontal lines across for column borders in ListView.
regards,
bjb
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Sep 16, 2009, 6:46 AM EDT
If you want This kind of Formatting in ListView then you have to write your own control From ListView
.
Its Better to use DataGridView which Provide all kind of Formatting like one You want :)
please dont forget to mark "do you like answer" it will give me some credits :)
Master BillaRank #2,229 · 630 reputationPosted Sep 16, 2009, 6:51 AM EDT
1. set List view "View" Property yo Details
2. set Gridlines to True
now see you have lines
thank you
b b47 reputationPosted Sep 16, 2009, 10:59 PM EDT