Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized.
the error is here: line 20
Expand|Select|Wrap|Line Numbers
- Line 18: cn.ConnectionString = connectionInfo
- Line 19: If cn.State = ConnectionState.Closed Then
- Line 20: cn.Open()
- Line 21: End If
- Line 22: Dim da As New SqlDataAdapter("select c_name from country order by c_name ", cn)