listbox control, how to dynamically preselect values

N

Nik

i have a listbox control which i have successfully used to insert data
in a database tables. Now i am trying to use the data that i have
inserted to preselect/prepopulate the listbox
when i am trying to edit the data.

Does anyone know of an easier way(maybe binding), to bind the related
db data to
the listbox rows and select them automatically. the only way i could
think of is to use the
finditembyvalue and put it in some kind of loop.

thoughts??

Thanks
Nikhil.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top