We Do not need to Add username and Password
just write in web.config-
<connectionstrings>
<add name="Connect" connectionstring="Data Source=.\sqlexpress;database=Musicmania;integrated security=true;MultipleActiveResultSets=True" providername="System.Data.SqlClient" />
</connectionstrings>
or in CS-
SqlConnection sqlconn = new SqlConnection("server=.\\sqlexpress;database=db;integrated security=true");
In Case if you're Using Sql server Authentication then-
SqlConnection sqlconn = new SqlConnection("server=.\\sqlexpress;database=db;user id=ur userid;password=ur password;");