dcsimg
Results 1 to 4 of 4

Thread: Multiple Listview with Listview

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2018
    Posts
    2

    Exclamation Multiple Listview with Listview

    How can i multiple Listview Items with Listview Items and give result in same Listview box ?

    please help thank

    Name:  Untitled.jpg
Views: 150
Size:  17.0 KB

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    99,441

    Re: Multiple Listview with Listview

    I'm afraid that your question doesn't make any sense. Can you try to restate it more clearly? That said, there's no actual relationship between two ListViews. If what you're saying is that you want take data from one ListView, perform some calculations with that data and then put the result into another ListView then that is exactly what you should do. If you have the value 12.75 and you want to multiply it by 6 then just go ahead and multiply 12.75 by 6. The fact that the 12.75 comes from a ListView isn't really relevant. A multiplication is still a multiplication. Don't try to make it more complex than it is.

    You get data from a ListView the same way regardless of what you intend to do with it. If you don't already know how, I'm quite sure that you can find examples online of getting data out of a ListView. You multiply two numbers together the same way regardless of where those numbers come from or where the result is going to. I'm sure that you can find out how to multiply numbers together. You add data to a ListView the same way regardless of where that data comes from and you presumably already know how to do that.

    You already know or can easily find out how to do all the parts. All you need to do is put them together. Would you need special instructions on how to bake a cake because someone gave you a bag of flour instead of your having bought it from the shop yourself? Of course not, and this is the same.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2018
    Posts
    2

    Re: Multiple Listview with Listview

    problem solved
    Name:  Untitled.png
Views: 56
Size:  5.8 KB

  4. #4
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    99,441

    Re: Multiple Listview with Listview

    For the record, I reread your question and when I realised that you meant "multiply" rather than "multiple" it made more sense, although you weren't actually multiplying a ListViewItem by a ListViewItem.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width