Posted on: 7/17/2014 8:24:03 PM | Views : 435

My conection string brings me to my my error page saying its not correct?
Public Function LoadLocations() As List(Of Location) Dim dr As New List(Of Location) Using connection As New SqlConnection(ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString) Dim strSql As String strSql = "SELECT [MId],[AddressL1],[ZipCode] FROM [HMRPrograms] ORDER BY [State], [City]" Dim command As New SqlCommand(strSql, connection) connection.Open() Dim reader As SqlDataReader = command.ExecuteReader() While reader.Read() Try

Go to the complete details ...