PC Review


Reply
Thread Tools Rate Thread

Binding Listbox Control

 
 
Satish Rao
Guest
Posts: n/a
 
      27th Aug 2003
Hi,
I need to bind a arraylist object in a object to a
listbox. The elements of the arraylist are a subset of the
items in the listbox. So what is needed is to bind the
arraylist to the listbox such that, the items in the
listbox corresponding to the elements in the arraylist
should be selected.

I could bind the listbox the the arraylist, but the
effect is that the listbox shows only the items
corresponding the the arraylist elements, other elements
are remove. But the expected effect is that all the items
in the listbox remain as it is, but only the items
corresponding to the arraylist elements should be Selected.

Please help. Thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ListBox WPF and Binding SteveT Microsoft C# .NET 2 15th Jan 2008 07:15 AM
binding a listbox Michael Powe Microsoft C# .NET 1 1st Dec 2007 03:09 PM
listbox binding =?Utf-8?B?TWlrZQ==?= Microsoft VB .NET 1 5th Nov 2005 01:52 PM
strange problem with binding collection object to listbox control David C Microsoft Dot NET Framework Forms 3 18th Oct 2004 05:05 AM
listbox click binding Federico Bari Microsoft C# .NET 0 1st Feb 2004 08:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:54 AM.