I guess u need to do some readings about how vb.net Object-Oriented Programming works. All forms in vb.net are treated as classes. classes contains member variables , properties and methods which u can expose in different levels. public, private,friend,protected. declaring a connection object...