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

Re: Databinding a check list box by Dave

Dave
Sat Aug 19 21:18:02 CDT 2006

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

"John" <John@nospam.infovis.co.uk> wrote in message news:OLvwcj$wGHA.3904@TK2MSFTNGP02.phx.gbl...
> 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
>
>



Re: Databinding a check list box by John

John
Sat Aug 19 21:38:31 CDT 2006

Sorry, how can I acquire the data?

Thanks

Regards

"Dave Sexton" <dave@jwa[remove.this]online.com> wrote in message
news:emoyg7$wGHA.2400@TK2MSFTNGP06.phx.gbl...
> 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
>
> "John" <John@nospam.infovis.co.uk> wrote in message
> news:OLvwcj$wGHA.3904@TK2MSFTNGP02.phx.gbl...
>> 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
>>
>>
>
>



Re: Databinding a check list box by Dave

Dave
Sat Aug 19 22:07:02 CDT 2006

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

"John" <John@nospam.infovis.co.uk> wrote in message news:ukqK6GAxGHA.1284@TK2MSFTNGP05.phx.gbl...
> Sorry, how can I acquire the data?
>
> Thanks
>
> Regards
>
> "Dave Sexton" <dave@jwa[remove.this]online.com> wrote in message news:emoyg7$wGHA.2400@TK2MSFTNGP06.phx.gbl...
>> 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
>>
>> "John" <John@nospam.infovis.co.uk> wrote in message news:OLvwcj$wGHA.3904@TK2MSFTNGP02.phx.gbl...
>>> 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
>>>
>>>
>>
>>
>
>