DB Connection

<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\aspnet-MVCCRUD-20160923102743.mdf;Initial Catalog=aspnet-MVCCRUD-20160923102743;Integrated Security=True"
providerName="System.Data.SqlClient" />
<add name="EmpConnection" connectionString="Data Source=DESKTOP-949FNVU\SQLEXPRESS;Initial Catalog=MVCCRUD;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
this is use to database connection
A database is created in SQL Server 2018. The name of the database is MVCCRUD. The Students database contains two tables Employee. The Employee table contains the Employee general data such as Employee id, name, age etc. Following is the script of Employee table
image.png
connection db.PNG

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.