Nor are they supposed to. The DataSet is not specifically linked to the database. The DataSet schema is created based on the database schema at the time you run the Data Source Wizard. If you change the database schema and you want to change the DataSet to match then you need to run the Data Source Wizard again. You can do that by selecting the Data Source in the Data Sources window and pressing the Configure button.I have the same problem too. I am using an SQL table, and when i edit the table DEFINITION, for example the name os a column, the changes don't take effect in the dataset! Thanks,
Hugo
That's simply not possible so you must be doing something wrong, or else your VS installation is corrupt in some way. When you create a Data Source it gets its schema from the database so, if you change the schema, there's no way for a DataSet to be created with the old schema because there's nowhere for the wizard to read that old schema from. Please describe the EXACT steps you took to update the schema.Yes, i understand, but what I am saying is that even if I delete and add the a new data source, the data won't update and will still be the same as the first time I created a dataset in that project. The only way I can make the changes take effect, is by creating a new project. I don't really understand if this is supposed to be this way or not.
For example, I also used a link to an object I created, and there was an error because one of the classes had a list of Component instead of a list of Components which was what I had created, and so the dataset appeared wrong. Even if i deleted it, corrected the code in the class, and readded it, it still would be a list of Component...