Hi,
I think your connection has problem.Did u check with your connection is that ok.Debug your code and check for your DB Connection.Check like this.
Dim conStr As String = "Server=yourServerName;Database=YourDBName;Trusted_Connection = yes"
Dim objCon As New SqlConnection(conStr)