Typed dataset not updated when a column is added

I have a datagridview that I am using in Visual Studio 2008 for a winforms application. The Datagridview is bound to a typed dataset. I have added a few columns to the table referencing the typed dataset. So, I open up a typed dataset and reconfigure the data to show the new columns. When I do a preview, the columns are there. However, when I view the datagridview, there is no change. I don't even bounce any change. I also tried to create a new table adapter and it doesn't even show up when the selected sources for the datagridview?

Ideas?

+1


source to share


2 answers


I had the same problem. The datagridview does not automatically accept the changes that your datasource is configured for. If you add a column to your datasource, you need to customize your datagridview to display the new column.



Open properties for your datagridviews and edit / add columns. This will allow you to add a new column.

+1


source


If you have any data sources created in Properties -> Data Sources folder, try deleting them.



0


source







All Articles