Connection string for Web.config

connectionString="Data Source=IP-ADDRESS;Initial Catalog=YOUR-DATABASE;User ID=YOUR-USERNAME;Password=YOUR-PASSWORD" providerName="System.Data.SqlClient" />

IP-ADDRESS: Check your Welcome email or your database details from hosting account.

  • programming, connect, web.config
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

A Web Service example

In the following example we will use ASP.NET to create a simple Web Service that converts the...

Redirect to WWW using Web.config

Add the source code following in system.webServer section (web.config): <rewrite>...

Sending e-mail from ASP.NET form (VB)

Try Dim SmtpClient As New Net.Mail.SmtpClient("mail.negox.com", 587) SmtpClient.EnableSsl =...

Redirect to HTTPS using Web.config

Add the source code following in system.webServer section (web.config): <rewrite>...

Enable error message for Web.config

To enable the details of this specific error message to be viewable on remote machines, please...