How to add Text and Value to Checked list box in vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sukeshchand
    New Member
    • Jan 2007
    • 88

    How to add Text and Value to Checked list box in vb.net

    I want to add Text and Value to a Checked list box in vb.net

    Select ID,Name from table1

    I want to add ID as value and Name as Display text.

    How ??

    regards
    sukesh
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    All the information you need on CheckedListBox and any other .NET controls can be found in the MSDN Library . This resource should get you pointed in the right direction....th ere are multiple articles on the Control Name as Link to General Article on Control there. I recommend bookmarking the MSDN Library and using it as your primary resource when developing in .NET.

    Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics. Please take the time to read over the Posting Guidelines specifically the section on Before you post your question.

    In your case, you need to look up SqlDataSource as well.

    MODERATOR

    Comment

    Working...