|
-
Jan 10th, 2007, 03:53 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] datagridview question
sorry this is probably very sloppy
I am connected to a obdc database to look through records
i wanted a datagridview at the bottom and several combo boxes and maybe two date pickers at the top
the idea being as i select items at the top the datagridview would widdle away entrys to only show the ones that are reflected in the combo boxes
example
all tickets that have jsmith as customer
would show 100 tickets
all tickets that show jsmith as customer and jdoe as the reporter
would show 50 tickets ..something like that
the way its currently working is if i select Jsmith it will just take me to the first ticket that has jsmith in the customer field and leave all the others
i hope this makes sense
-
Jan 10th, 2007, 07:20 PM
#2
Re: datagridview question
Bind your data to a BindingSource and bind that to your grid. As you set values in the other controls you set the Filter property of the BindingSource and the grid data will reflect the changes.
-
Jan 11th, 2007, 11:02 AM
#3
Thread Starter
Fanatic Member
Re: datagridview question
Last edited by Crash893; Jul 18th, 2007 at 05:42 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|