TableAdapter Fill Code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I just purchased Visual Studios 2005. I noticed that when I drag a
control from the DataSources toolbar, or set the datasource property of a
datagridview, that code is automatically generated in the forms load event to
fill the dataset. How can I disable this feature? I normally fill my
datasets with buttons after a user enters search parameters, this feature has
become an anoyance. Can I maybe create a macro to turn erase the code?
Thanks in advance for all of your help.
 
If you find one let me know. I agree to an extent... but they wanted to make
the (rather different) Fill invocation easy. What I do is pick it up from
the Form_Load event and paste it where it belongs.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
If you find one let me know. I agree to an extent... but they wanted to
make the (rather different) Fill invocation easy. What I do is pick it up
from the Form_Load event and paste it where it belongs.

--
:-)

Good answer

Cor
 
Back
Top