So i am currently working on a project about enrollment system
and I am having a problem with transferring items from one
listview to another. I've been stuck on this problem for a while now.
And I'm wonder if you guys and help me out.
Here's a photo:

I want to be able to transfer from the lower right form's listview
to the other form's listview.

Recommended Answers

All 4 Replies

you can add a selection form where the user can select which subject the student is taking.

hello !
you can use this code at the double click event of the listbox whose value you want to show.

Form2.ListBox1.Items.Add(ListBox1.SelectedItem.ToString)

hope this code helps you , if yes then please vote me up :)

Regards

Hello wagasaslammmeo thanks but I tried this instead EnrollmentForm.lvwEnrollment.Items.Add(lvwSubjects.FocusedItem.Text)

it does work but it only transfer the first columns how do I transfer the remeaning columns

I already solved it ty

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.