<%

'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>

Kas see vastus oli kasulik? 26 Kasutajad peavad seda kasulikuks (164 Hääled)

Powered by WHMCompleteSolution