wingman007

C#_MVC_Web.config

Mar 23rd, 2015
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.29 KB | None | 0 0
  1. Add the following connection string to the <connectionStrings> element in the Web.config file.
  2.  
  3. <add name="MovieDBContext"
  4.   connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\Movies.mdf;Integrated Security=True"
  5.   providerName="System.Data.SqlClient"
  6. />
Advertisement
Add Comment
Please, Sign In to add comment