Hey,
i've Problems with adding Item's to my listView1 because its in a Static Function.
Here how i try it:
hope someone can help me with it.Code:int[] myItems = new int[] { GetName(i), // this one is a String GetCount(i), GetLevel(i), GetMinBid(i), GetMinIncrement(i), GetBuyoutPrice(i), GetBidAmmount(i), GetOwner(i) // this one is a String }; ListViewItem lvi = new ListViewItem(myItems); listView1.Items.Add(lvi); //listView1 is red marked because its not Static!




Reply With Quote