Windows Develop Bookmark and Share   
 index > Windows Forms General > How can I use checkbox inside a list box?
 

How can I use checkbox inside a list box?

Hi Friends,
I am binding aListbox from database. Now i want to search the data in database by selecting the Datavalue field in that. But i want to make a multiple search. That is i have to select multiple values in that. I need checkboxes inside it to select multiple values. What should i do?

Thanks and Regards,


Varun Kumar
  • Edited byvarun007 Friday, September 11, 2009 4:16 AM
  • Edited byvarun007 Friday, September 11, 2009 4:15 AM
  •  
varun007  Thursday, September 10, 2009 8:01 AM
This link will help you:

http://www.codeproject.com/KB/combobox/checkedcombobox.aspx


Please mark the post as answer if it is helpfull to you because it boosts the members to answer more and more.
  • Marked As Answer byvarun007 Monday, September 14, 2009 12:59 PM
  •  
_SuDhiR_  Thursday, September 10, 2009 8:24 AM
Hi varun007,

We can use the CheckedListBox control to support multiple selecting. You can get more information from:
http://msdn.microsoft.com/en-us/library/system.windows.forms.checkedlistbox.aspx.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byvarun007 Monday, September 14, 2009 12:59 PM
  •  
Aland Li  Monday, September 14, 2009 9:43 AM
This link will help you:

http://www.codeproject.com/KB/combobox/checkedcombobox.aspx


Please mark the post as answer if it is helpfull to you because it boosts the members to answer more and more.
  • Marked As Answer byvarun007 Monday, September 14, 2009 12:59 PM
  •  
_SuDhiR_  Thursday, September 10, 2009 8:24 AM
Hi varun007,

We can use the CheckedListBox control to support multiple selecting. You can get more information from:
http://msdn.microsoft.com/en-us/library/system.windows.forms.checkedlistbox.aspx.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byvarun007 Monday, September 14, 2009 12:59 PM
  •  
Aland Li  Monday, September 14, 2009 9:43 AM

You can use google to search for other answers

Custom Search

More Threads

• AxSpreadsheet
• windows form application weight issue
• Adding a user control in a cell in Datagrid
• how to declare function to become gobal (to all)
• Win32 window in C# application
• DateTimeFormatInfo and MaskedTextBox
• Clear my image from my picturebox
• Bringing Form to front
• Currency formatting problem with DataGridTextBoxColumn?
• purpose of AutoScrollOffset property in a richtextbox