Good day 2 all .NET guru's, i am an IT student on my final year. Im developing a subject plotter program for enrollment(but not an enrollment system), i use a database to store retrieve/store and update data. What my problem is that i have 2 listview, one that holds the chosen subject, and the other display's the offered subjects.. how can i compare a specific item in the listview from another? please help me,..

use something like this

listView1.Items.Contains(listView2.Items(0));
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.