see my code pls
Imports System.Data.SqlClient
Inherits System.Windows.Forms.Form
Dim myConnection As SqlConnection
Dim myCommand As SqlCommand
Dim dr As SqlDataReader
' the database we'll be connecting to
myConnection= New SqlConnection("Data Source=MSALAMEEN;Initial Catalog=Biometric;Integrated Security=True")
I am having declaration in the last line above(myConnection)