I'm getting the object refernce not set to an instance of an object error in the code below.
I couldnt figure it out, where I'm going wrong.
Public Function GetConnection() As SqlConnection
Dim connectionString As New SqlConnection()
Dim Conn As String = Nothing
Conn = ConfigurationManager.ConnectionStrings("connectionString").ConnectionString
Dim objConnection As New SqlConnection()
objConnection.ConnectionString = Conn