3
Answers

Passing Data To ListView From Another Class

Photo of Jay Webster

Jay Webster

14y
4.4k
1
Hi,

I have a listview on a form and I am trying to add data to it from a method in another class.

What's the best way to go about this? Setting listview to Public? Setting up properties? Everything I have tried has failed. I keep getting errors like "inaccessible due to its protection level" & that listview is a non-static field.

I am a bit lost on what to do, can someone help.

Jay

Answers (3)