ADO generated code disapears

From: dan (dea_at_deamon.com)
Date: 08/23/04


Date: Mon, 23 Aug 2004 11:06:19 +0100

The code generated by the Data controls such as SqlDataAdapter and
SqlCommand disappears when a change is made to the form (e.g. changing the
text of a control, adding a new button, etc). Thus the data controls must
be reconfigured which is highly annoying.

Does this work as designed, is it a VS fault or am I doing something wrong?
Is there a way to avoid this happening?

Thanks,
Dan