ListView, using code to add columns..

Lanc1988

Contributor
Joined
Nov 27, 2003
Messages
508
I have a listview on my form set in the details view.. when a button is clicked I need the code that will add columns with a certain alignment and width..

I tried ListView1.Columns.Add("Item Name", Width = 50, Alignment.Left) but its not working for me..
 
Back
Top