connection string in webconfig Asp.net C#
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi every one.
I have copying my database via setup to Program File of customer system.
now how can i give the conection string that can attach the DB (in webconfig):<connectionStrings>
<add name="SqlConnStr" connectionString="Data Source=.\CMSNegin;AttachDbFilename=<code>%programfiles%</code>\TSMS.mdf;Initial Catalog=NeginDB;uid=sa;pwd=u1$%^ggrf0923" providerName="System.Data.SqlClient"/></connectionStrings>
I have used "<code>%ProgramFiles%</code>" but no use...Please Help
Thanks in Advanced !