Best way to create a ListView in C# (or vb.net)
Posted on 2004-11-22
I am rewriting an app in C# that was written in VB6. I want to write a common routine where I can pass in parameters, including an arraylist of data, and have the listview created for me in that common routine, passed back, and then displayed on a form. The purpose is to not have code that creates a listivew in the 100+ forms that we will have. I have tried passing back a listview control into a procedure called from the form, but it doesn't see to work. Any ideas?