1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Help with .net looping and selecteditems

Discussion in 'Software Development' started by bwesenberg, Nov 2, 2007.

Thread Status:
Not open for further replies.
  1. bwesenberg

    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.
     

    Attached Files:

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 733,556 other people just like you!

Loading...
Similar Threads - Help looping selecteditems
  1. charlzguitarz
    Replies:
    4
    Views:
    818
  2. Amount
    Replies:
    2
    Views:
    745
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/647071

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice