Advice needed -DataGridView or Listbox? (1 Viewer)

Fritzeh

New member
Local time
Today, 17:31
Joined
Apr 1, 2008
Messages
1
Hey people,

I am creating an information system with a database and table which contains 4 fields ( shopid, catergoryid, name and floor) The idea is that when the user selects a checkbox(in a checkedlistbox), it displays all shops with the relevant catID, so for example:
if category 1 = major stores in the access database, and a checkbox for major stores is selected, the listbox/datagridview updates itself with a multicolumn display of all matching shops with catid 1(ID, name and floor - category is irrelevant in the display, but i think i can hide that using column width somehow?)

Also multiple checkboxes can be selected and i may use a button to update it, instead of updating after every click.

I have looked at listbox, listviews and datagridviews and cant really find any code to get me started...

The idea is:

checkedlistbox has options selected, somehow i assign each box to a a number 1-10. if box 1.selected = true then datagridview displays relevant rows by matching selected value with column CatID.

Any ideas? Maybe im better off using seperate check boxes or buttons?

Please help.
 

Users who are viewing this thread

Top Bottom