views:

38

answers:

1

I'm trying to see if there is a way to stop VS.NET 2008 from doing something which is very annoying to me and our particular standards of coding.

When you create a blank dataset and then drag over from the server a table (or tables), VS.NET automatically creates a table adapter for that table, puts the connection information into the XML definition of the XSD and also puts a setting on the property to this database.

This requires us to delete the table adapter, get rid of the connection info the XSD file and then go delete the local setting which has been added to the project.

I know that I could probably leave all of that stuff and not use it, but that just seems wrong and bloated.

Any idea on how to turn this off?

A: 

You can do it in code. :)

DaMartyr