1
Answer

How to connect the database based on the project

Photo of Ken H

Ken H

12y
1k
1
hi,
  I want to connect to the database of project-based.
thanks

Answers (1)

0
Photo of Sukesh Marla
NA 11.8k 1.2m 12y
Download the dll from following location, and refer how to Use.txt
http://www.c-sharpcorner.com/Downloads/Details.aspx?DownloadId=251


y
ou just have to know the connecting string

Sample Connection string

<add name="MyConnectionString" connectionString="Data Source=SUKESH-PC\S2;Initial Catalog=MarlaGroupCompanies;Persist Security Info=True;User ID=sa;Password=aa" providerName="System.Data.SqlClient"/>

Check this is correct answer
Accepted