Sorting a Dataset

M

MadCrazyNewbie

Hey Group,

I have the following Code:

I have a form, with a datagrid on it, which is filled via a dataset, I also
have a list box which has a list of departments (from a table within my
dataset) I would like it so when i click on a department it only lists the
phones within that department in my datagrid, is this possible?

Any Links or suggestions?

Cheers
MCN
 
K

Ken Tucker [MVP]

Hi,

Bind the datagrid to a dataview. Use the dataview rowfilter to
only show the phone numbers you are looking for.

Ken
----------------------------
Hey Group,

I have the following Code:

I have a form, with a datagrid on it, which is filled via a dataset, I also
have a list box which has a list of departments (from a table within my
dataset) I would like it so when i click on a department it only lists the
phones within that department in my datagrid, is this possible?

Any Links or suggestions?

Cheers
MCN
 

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

Similar Threads


Top