I m using VS2003, VB.net
My question is, as we proide datasource property in the binding object for chkListBox, then assigns DisplayMember, ValueMember to bind the ChkList & it automatically pops the list [without writing any more code]
I m talking about this
lstInActive.DataBindings.Add(
New Binding("DataSource", objFcPartySetup.DSPartySetup, "PartyInActiveRoles"))
lstInActive.DisplayMember = "NameField"
lstInActive.ValueMember = "IdField"
but the chkList gets populated with no item checked, HOW WE TELL THE BINDING OBJECT TO CHECK THESE ITEMS WITH RESPECT TO SUCH DATABASE FIELD & KEEP UNCHECK SUCH ITEMS??????????????????
apart from writing a for loop & checking ourselves, can there be a CHEKEDMEMBER property which we assign a database fieldthe system does the rest of work, I hope i have made my self clear???