<%

'Your connection here
set conn = server.createobject("ADODB.Connection")
conn.open "DSN=your-dsn; UID=sqldbuser; PWD=sqldbpass"
set rs = server.createobject("ADODB.recordset")

%>

Standard Security

Driver={SQL Native Client};Server=SQL-Server-Address;Database=your-sql-db;Uid=sqldbuser;Pwd=sqldbpass;

Visual Studio ASP.Net Connection String

<connectionStrings>
<add name="SampleConnectionString" connectionString="Data Source=sql-server;Initial Catalog=sql-database;User ID=dbuser;Password=dbpassword"
providerName="System.Data.SqlClient" />
</connectionStrings>

هل كانت المقالة مفيدة ؟ 26 أعضاء وجدوا هذه المقالة مفيدة (164 التصويتات)

Powered by WHMCompleteSolution