Help with .net looping and selecteditems

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

bwesenberg

Thread Starter
Joined
Jun 24, 2004
Messages
39
Hi All
I am way new to this programming thing and I am doing a self study and I really need some help.
Hopefully I can explain this ok.

I am using Visual Studio 2005 .net

I have a form that has a list box on it and it has 5 names in the list box. If I click on a single name I can click the single student button and it will appear in the resultlabel.
That works just fine.

What I need the assistance with is if I click on three of the student names not in any order and then click the multi-student button I need for the three names to appear in the result box.

I know I have to do some type of loop but I am really just not sure.
Do I have to do something with the selectedItem property too?

Can anyone PLEASE help me.
I have attached a zip file with what I have so far.
 

Attachments

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top