this following code to connect asp.net with sqlserver
Imports System.Data
Imports System.Data.SqlClient
Module ConnectionDB
Public conn As New SqlConnection("Server = j3rry;" & "initial Catalog = PP60;" & " Trusted_Connection=yes")
End Module
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Offline 3,138 posts
since Nov 2007