this code helps u to understand the basic thing to connect visual basic with sqlserver. this ll be very useful for naive coders