sample asp.net with c# sql database connection

Recommended Answers

Where you supposed to enter this into google ?

Have a look at this

Jump to Post

All 3 Replies

Where you supposed to enter this into google ?

Have a look at this

SqlConnection cn = new SqlConnection("server=localhost;database=Database name;trusted_connection=true");
    cn.Open();

this won't help i hv tried above code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.