I'm a bit new to ASP.NET, so bear with me. I came across this solution which would allow me to add an array of strings to a ListView as a row of data. However, I'm not sure on the proper way to set it up. In just trying this solution with a ListView I dropped onto my website, I'm told that new ListViewItem() requires a parameter of type ListViewItemType. The sample solution doesn't provide that, so is it different in ASP.NET?
So the main question I'm asking is: If I have an array of strings, how can I add that to a ListView as a row of data in ASP.NET?
EDIT: I'd like to make sure I'm asking for the right control. I was under the impression a ListView was something like this (but in ASP.NET), but what I'm getting so far is not. It's just a line of text.
