Groups | Blog | Home
all groups > dotnet windows forms databinding > august 2006 >

dotnet windows forms databinding : Databinding a check list box


Dave Sexton
8/19/2006 10:18:02 PM
Hi,

I don't think CheckedListBox supports binding to list sources. You should just acquire the data and fill the Items collection in a
loop.

--
Dave Sexton

[quoted text, click to view]

Dave Sexton
8/19/2006 11:07:02 PM
Hi John,

Use the OleDbConnection class. (FYI, this would be the data tier of your application):

OleDbConnection on MSDN (code example):
http://msdn2.microsoft.com/en-us/library/system.data.oledb.oledbconnection.aspx

ConnectionString Property on MSDN (examples of oledb connection strings):
http://msdn2.microsoft.com/en-us/library/system.data.oledb.oledbconnection.connectionstring.aspx

--
Dave Sexton

[quoted text, click to view]

John
8/20/2006 12:00:00 AM
Sorry, how can I acquire the data?

Thanks

Regards

[quoted text, click to view]

John
8/20/2006 2:35:03 AM
Hi

I have a check box list box on a windows form. How can I data bind it to an
access table. I don't need a multi-tier solution. Just a solution.

Thanks

Regards

AddThis Social Bookmark Button