can you please explain the lines in opening a connection to a database?where will i base the datasource, the initial catalog, uid.....?
bords 1 Light Poster
Recommended Answers
Jump to PostWhat type of database connection are you using? The connection strings vary by driver. Here is some english variable names associated with the connection string file names:
public static string BuildSqlNativeConnStr(string server, string database) { return string.Format("Data Source={0};Initial Catalog={1};Integrated Security=True;", server, database); } public static string BuildSqlNativeConnStr(string …
All 3 Replies
Reply to this topic 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.