Results 1 to 3 of 3

Thread: Adding Text from form into Listview (update)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2011
    Location
    Ohio
    Posts
    172

    Adding Text from form into Listview (update)

    Ok guys I have been stuck on this. So right now I have a 3rd windows form opened and I have 2 textboxes to add Username and Password as well as a button that says add account. Username is named as Email2 and Password is named as Pass2 and the button is addaccount2. The forms are named Form 1 Form 2 and Form 3. I have a listview in form2 that has columns with names and im trying to get it to when you fill in the info on Form3 the username and pass and click the Add account button it will put it in the listview box but I would like it to be so username would be under the username column and password to be under password column under Form2 in the listview. Any help would be great. I have uploaded the project file someone please help me with this.
    Last edited by dbhoward20; Nov 4th, 2011 at 09:49 PM.

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Re: Adding Text from form into Listview (update)

    in form3, set your button's dialogresult property to dialogresult.ok in your properties window

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2011
    Location
    Ohio
    Posts
    172

    Re: Adding Text from form into Listview (update)

    You my man are awesome it worked like a charm that time. I commented to early the last time lol.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width