Hi all, :)
I am creating a log in form and I connected to my database and when i run my form I keep geting this error
"NullRefrenceExeption was unhandled by user code"
Object reference not set to an instance of an object.
I'm getting the error in this line
Dim conStr As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("Data Source=.\SQLEXPRESS;AttachDbFilename='C:\Users\sony\Documents\Visual Studio 2010\Projects\SADA2\SADA2\App_Data\SADA2.mdf';Integrated Security=True;User Instance=True").ConnectionString)
Can any one help me with this plz