I have a VB Windows Form that is bringing in SQL Data into Data Grids. I have Three Grids that have seperate data bindings and querys but they run off of each other. For Example when order number #### is entered into the first query box and Run it Fills data grid 1. However It also loads one of the Query Fields for the second query with its textbox.text (in this Case ####) so the next query can be run on the same number plus some aditional data. This Runs like this for 4-5 query's and it runs smooth and clean.
However when i want to change one of the SQL Joins the Binding Query's don't reflect the changes made. I dont know why as the main source of their data has changed. Is there a way to refresh a data binding to get the newest data from the source. Because every time ive changed the SQL Join i have to rebuild the Query and how the talk to each other.
For Example, My SQL is Bringing in All Addresses for job #12 to a data grid from a binding source. Now lets say i add to the SQL Table that i only want addresses that start with the letter A, when i run it inside the Data Table it all runs great. But when i run the Query with the data binding it does not change and continues to bring in the data that it had when i first created the binding. How can i fix this without deleting the Binding and recreating a new one. Or is that my only option ?
Thanks Ahead Of Time!
However when i want to change one of the SQL Joins the Binding Query's don't reflect the changes made. I dont know why as the main source of their data has changed. Is there a way to refresh a data binding to get the newest data from the source. Because every time ive changed the SQL Join i have to rebuild the Query and how the talk to each other.
For Example, My SQL is Bringing in All Addresses for job #12 to a data grid from a binding source. Now lets say i add to the SQL Table that i only want addresses that start with the letter A, when i run it inside the Data Table it all runs great. But when i run the Query with the data binding it does not change and continues to bring in the data that it had when i first created the binding. How can i fix this without deleting the Binding and recreating a new one. Or is that my only option ?
Thanks Ahead Of Time!