views:

30

answers:

1

I have Listview on WinForm

I need to have two columns but without headers, How do i do that?

+4  A: 

I think ListView.HeaderStyle = ColumnHeaderStyle.None should do the trick.

bernhardrusch
Hey Tht Works, but How do i add items to second column???
Gaddigesh
maybe with the SubItems collection ?ListViewItem item1 = new ListViewItem("item1",0);item1.SubItems.Add("1");
bernhardrusch