VS 2k5 using VB
I'm still designing my Windows app and have made some changes to the underlying tables (keys, relationships). I can't seem to find a way to update the dataset in my project with the new table info. I created the db/tables in SQL Express.
In Data Sources, I've tried using "Configure Dataset with Wizard" and "Refresh" to see if it will update the dataset with the new info. It goes through the motions, but the new table structure/info seems to be ignored.
So far, the only thing that seems to work is to delete the dataset from my project and then add the db/tables again as a new data source... or, if I've only made changes to only one or two tables, I can just delete those tables from the dataset and add them again using "Configure Dataset with Wizard." That certainly works, however, I then have to manually reset all the column default values in each of the tables, and redo all the table adapter queries, etc.
I've searched through Help, this forum, and Google, but can't seem to find anything on this.
Thanks,
George

Changed Underlying Table Structure -- How to Update Project Dataset?
NickNotYet
Ceres629
Do you have a copy of database in your project
Sriman
VashTheStampede
Apparently, there is no way you can get those changes incorporated into the "existing" typed dataset.
carjo
I am trying to update the project typed dataset with the new key and relationship changes I made to the tables in Server Explorer without having to delete the project dataset and re-add the .mdf as a data source, or without having to make those table changes to the dataset manually, as previously noted in my other messages.
This would seem to be a pretty typical need of anyone developing a new app, unless, of course, you are a database engineer and can get your table structure right the first time around.
GrandpaB
Grant Jenkins
Ronaldlee Ejalu
In the Data Source Configuration Wizard when the database objects window, you can expand the tables and te columns down to select the columns.
Or you can go to the Edit Dataset With Designer, right click on the changed table, select configure, and just update the query there with the query editor.
Regards,
david
gmeadows94410
The nature of the apps I build require sudden changes to DB's (clients change their mind).
Instead of using the drag and drop method of databinding etc, I've been trying to perform the same functionality programatically (similar to VB6 and the RecordSet)
Still trying to nut out a few things tho.