Author Topic: Bind checked list items to listbox  (Read 1593 times)

0 Members and 1 Guest are viewing this topic.

Ricky_76

  • Guest
Bind checked list items to listbox
« on: January 21, 2011, 03:27:44 PM »
Hi,
need to bind checked list items to listbox.datasource.

I now how to do it by hand, what I need to know is if there is a direct method.
ex:

cbx.DataSource = clb.SelectedItems

Thanks

/r


ps
I need it for vb.net

fixo

  • Guest
Re: Bind checked list items to listbox
« Reply #1 on: January 22, 2011, 06:59:41 AM »
See example

~'J'~

Ricky_76

  • Guest
Re: Bind checked list items to listbox
« Reply #2 on: January 22, 2011, 12:14:14 PM »
 :lol:

Hi fixo
you're a genius!
Work's very well.

Thanxs a lot

/r

fixo

  • Guest
Re: Bind checked list items to listbox
« Reply #3 on: January 22, 2011, 02:10:36 PM »
You're quite welcome
Glad to help
But wait..
I just wrote this code based on MSDN example though :)
Unfortunatelly, I don't remember the link