what does curly braces mean in web.config file?
In my p开发者_StackOverflow中文版roject, 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?
Remove the curly braces and put in your database name.
For example:
<add key="ConnectionString" value="server=localhost;database=Northwind;uid=sa;password=admin;" />
精彩评论