If you rename the app.config in a console app, you may really confuse your application. I had to run "Clean Solution" (right-click on the ASP.NET Solution and pick "Clean Solution") to get DataSet which should have been functioning properly to function properly on the other side of a the other side of swapping of app.config with another file called app.Debug.config with a renaming. Comedically, I was trying in vain to manually doctor up a DataSet today to fix an inability for the code to run. It was an interesting refresher on DataSets...
- make a dataset
- drag tables from the Server Explorer into the DataSet
- right-click on one of the tables drug into the DataSet and pick "View Code" to make a partial class
No comments:
Post a Comment