|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Databinding a check list boxHi
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 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. -- Show quoteHide quoteDave 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 > > Sorry, how can I acquire the data?
Thanks Regards Show quoteHide quote "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 >> >> > > 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 -- Show quoteHide quoteDave 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 >>> >>> >> >> > >
VoIP Dialer
Debug in .Net 2005 Replace All XML Data How do I catch duplicate record exception? Invoking Class from a variable string in VB 2005...! What port does My.Computer.Network.UploadFile work on? Application settings Convert IntPtr to Handle how to pass variable from one event to the other? Debug Assistance |
|||||||||||||||||||||||