1

In my project, connection string is like the following :

connectionString="Server=localhost; Database={DatabaseName}; User Id=sa; password=sa"

What does {DatabaseName} mean? If I want to change the DatabaseName to some other database name, where should I make the change?

Mo0gles
  • 10,517
  • 2
  • 21
  • 15
rajasekhar
  • 11
  • 2

1 Answers1

0

Remove the curly braces and put in your database name.

For example:

     <add key="ConnectionString" value="server=localhost;database=Northwind;uid=sa;password=admin;" />
ed209
  • 228
  • 1
  • 7