-
Feb 3rd, 2014, 10:47 AM
#1
Thread Starter
Addicted Member
How to change select query in oledb binding with ListBox ?
Hello, I have a local MsAccess database(called Products, and a table called Products again), and a listbox in my program. I bind the data from my local database to my listbox, and from what I noticed, I see in my program there have been created a DataSet called ProductsDataSet, a BindingSource called BindingSource1 and a TableAdapter called ProductsTableAdapter.
Which one of these 3 objects do I need to modify to modify the selection query, and then re-bind the data to the listbox again programmatically?
-
Feb 3rd, 2014, 11:02 AM
#2
Re: How to change select query in oledb binding with ListBox ?
Personally I wouldn't add the db + all the peripherals in the designer. It can all be done in code + gives easier flexibility.
I'll post links to some examples in a minute
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 3rd, 2014, 11:04 AM
#3
Re: How to change select query in oledb binding with ListBox ?
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 3rd, 2014, 11:05 AM
#4
Re: How to change select query in oledb binding with ListBox ?
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 3rd, 2014, 11:11 AM
#5
Thread Starter
Addicted Member
Re: How to change select query in oledb binding with ListBox ?
Ok, Thank You, I will check them out and come back at you!
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
|