hi,

my codes is

Dim connection as New SqlConnection(ConfigurationSettings.AppSettings("ConnectionString"))

Dim command as New SqlCommand("Select * from teacher where SNo = @SNo',connection)

command.Parameters.Add("@SNo",lol.text)
Dim dataAdapter as New SqlDataAdapter(command)
Dim result as New dataSet

connection.open()
dataAdapter.Fill(result,"teacher")
connection.close()


my error is
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where ir originated from the code.

Exception Detail : System.InvalidOperationException. The connectionString property has not been initialized..

Source error
Line 60 connection.Open()