Did you change this line:
MyConnection = New SqlConnection("server=(local)\NetSDK;database=pubs ;Trusted_Connection=yes")
to this:
MyConnection = New SqlConnection("server=(local);database=pubs;Truste d_Connection=yes")
--------------------------------------
No, you don't always have to use it. I almost never use it. I put all of my code in a codebehind file. Here is an article from Microsoft on AutoEventWireup:
http://support.microsoft.com/default...en-us%3B317690
J