473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

please help. how to copy the checked listview1 items into listview2....

1st i will checking items is add to the listview2 the 1 checked in listview1.
2nd i will checking items is add to listview2 the two checked in listview1.

that is my problem.. so pls help me. this are my codes...




Expand|Select|Wrap|Line Numbers
  1. If ListView1.CheckedItems.Count > 0 Then
  2.             For Each item As ListViewItem In ListView1.CheckedItems
  3.  
  4.                 ListView2.Items.Add(item.Clone)
  5.  
  6.  
  7.             Next
  8.         Else
  9.             ListView2.Items.Clear()
  10.         End If
i want , every i checking items in listview1 is 1 item only added to the listview2..
Oct 15 '14 #1
1 1272
Frinavale
9,735 Expert Mod 8TB
Have you considered handling the checked event for the checkbox and at that point add it to the second ListView?

-Frinny
Oct 16 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Pax S | last post by:
I need a button that will check (make true) two check boxes (fields) For the record that has the focus (the record on the form that I am presently looking at). The two check boxes would be like a...
3
by: Paddy | last post by:
Could someone please tell me what the error is in the second function? private void Form1_Load(object sender, System.EventArgs e) { string show = new string ; show = "ene"; show = "mane";...
4
by: pargat singh | last post by:
Hi I format my M/C and install fresh copy of Win2000 and ISS.First thing after that i install VS.net and every thing goes well without any error.When i try to open asp.net application i am...
2
by: SStory | last post by:
Here is the situation. I want to display Icons, Type of file etc from a file extension. Upon initial program load I may only need icons for certain files. But other operations will require...
1
by: Mamatha | last post by:
Hi I have some items in listview. I want to copy the selected items from listview using the clip board mechanism in VB.NET. I used this code but it was not copied. For Each lsvrow As...
3
by: yxq | last post by:
Hello, There is one item(text=123456, no subitem) in ListView1, why the code below return FALSE? MessageBox.Show(ListView1.Items.Contains(New ListViewItem("123456"))) Why? Thank you
2
by: Tim.Geiges | last post by:
This seems like ti should be very simple but I am sort of a newb and this one is killing me I am just trying to copy all the items that are checked in listView2 over to listView1 when a button is...
7
by: JumpingOffPlace | last post by:
I've spent FAR too much time trying to figure this out...PLease help! The goal of the following code is to retrieve a very simple arraylist and display it in a drop down menu. The reason I am doing...
1
by: ewankosayo | last post by:
hi.. can anyone help me about my problem in listview, i'm trying to delete listview item that's already in my data table, the problem is every time the loop comes to last item of my listview i got...
1
by: alivip | last post by:
I integrat program to be GUI using Tkinter I try browser direction as you can see # a look at the Tkinter Text widget # use ctrl+c to copy, ctrl+x to cut selected text, # ctrl+v to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.