Preventing strongly typed DataSets - How to automatically type an untyped DataSet?


New member
May 3, 2009
Programming Experience

I want to prevent to use strongly typed DataSets because the code generated by VS (2005) is far too bulky. In order to achieve this I'm currently using untyped DataSets in Forms and add a custom made "generic" Table Adapter as well.

In order to use certain Controls and BindingSource on the Forms properly in Design time, the DataSets bound to them have to be typed. Typing them by hand is possible (Designer -> Properties -> Tables -> Add.. etc.). This lets VS create code in the Form's Designer file which is very light weight compared to the code generated for strongly typed DataSets.

My question is: Is it possible that I can let VS to type such a DataSet given for example a .xsd file in that way as if I would type it by hand?
Top Bottom