Alright, the above problem solved (Sending selected data from one listview to another listview).
Now i am facing problem calling the specific column's subitems to label box
Here is what i mean :
I have added 3 items to my listview2 and when i click confirm purchase, i want it to sum all the price and show the total in my label1.
I am able to archive that only for the 1st items's subitem with this code
Label1.Text = lv1.SelectedItems(0).SubItems(4).Text
//because selecteditems is pointing to 0 which is 1st item in the list and subitems is pointing to 4 which is price column.
How if i have more than 1 item? Can help me on this? I really new to listview
General Discussion
- Caffeine Lounge
- Corner Cubicle
- Student Campus
- Software Development
- Industry News
- Introduce Yourself
- Nightmare.In.Code
Programming Help
- C and C++
- VB.NET
- Java
- C#
- ASP.NET
- .NET Framework
- VB6
- PHP
- Ruby
- Python
- ColdFusion
- Databases
- Other Languages
- Game Development
- Mobile Development
- 52 Weeks Of Code
Web Development
- Web Development
- HTML & CSS
- JavaScript
- Graphic Design
- Flash & ActionScript
- Blogging
- SEO & Advertising
- Web Servers & Hosting
- Site Check
Follow & Share
Give It A Try!
VB.NET Tutorials
- Ninja App: Quick and Dirty Image Degrading
- Intro to Genetic Algorithms
- How sometimes what you require, is a different algorithm.
- Predicates (For vb.net 2.0 and above)
- Debugging Express
- Tutorial(VB.Net) Creating Windows Form App Using Notepad+CommandPrompt
- Restricting Extension Function To Selected Value Types
- Creating SQL Server Stored Procedures and Using them in VB.NET
- Why Separation Of Concerns matters?
- Copying Directory's Across Servers
- 244 More VB.NET Tutorials...
Reference Sheets
VB.NET Snippets
- Open a Folder Browse Dialog window
- Running an external executable file
- Get connection string from app.config
- Resize Image
- Load bitmap into PictureBox using OpenFileDialog
- Use KeyChar to limit the characters that can be entered into a Text Box
- Multi-threading with background worker
- Validate email address
- Validate email address with Regular Expressions
- Get all IP address on a LAN (w/o Active Directory)
- 453 More VB.NET Snippets...
DIC Chatroom
Bye Bye Ads
Monthly Drawing

New Topic/Question
Reply




MultiQuote
|