CheckedListBox control to Database

From: m3 (twouble_05_at_hotmail.com)
Date: 05/26/04


Date: Tue, 25 May 2004 18:36:04 -0700

anyone could pls help me with CheckedListBox control on a window form...

I have two tables: Person table (PersonID, Name, InterestID(FK)), and Interest table (InterestID, Interest).

I had displayed all vallues from the Interest column in Interest table in a CheckedListBox,
using array and Select SqlCommand. Now, my problem is, how could I record any boxes checked by the user to choose the interests of a person? Then, how could I have checkboxes checked/unchecked depending on the values of InterestID of a person in its table when showing a person's details, then be able to do any changes/updates to its interests by checking/uncheking boxes, then record those changes to the particular person table.

THANKS so much^^.



Relevant Pages

  • Re: vertical Scroll Bar with CheckBoxList in ASP.NET
    ... I've tried it like you suggested, but the vertical bar didn't show up (both ... My co-worker developed a window application with ... VB.NET and used CheckedListBox control to display databound by database; ... > Hi Kevin, ...
    (microsoft.public.dotnet.framework.aspnet)
  • CheckedListBox control to Database
    ... anyone could pls help me with CheckedListBox control on a window form... ... Person table (PersonID, Name, InterestID(FK)), and Interest table. ...
    (microsoft.public.dotnet.languages.csharp)