hi friends,
i had a problem when connecting the database to the asp.net. My database is SQL server 2005
snifer
0
Newbie Poster
Recommended Answers
Jump to Postthis 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
All 4 Replies
Bombdrop
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
ericstenson
5
Posting Whiz in Training
Team Colleague
Paladine
138
Master Poster
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.