connection

jaws1021

New member
Joined
May 16, 2007
Messages
2
Programming Experience
Beginner
if this is my connection

Dim cn As New SqlConnection(ConfigurationManager.ConnectionStrings("ConnectionString").ToString)
Dim cmd As New SqlCommand(strSQL, cn)


Try
cn.Open()
>>> Dim rs As SqlDataReader = cmd.ExecuteReader

when it hits >>> catches error am I using right reader to read my data?
 
Back
Top