petshop 4.0 中连接数据库的字符串存放在哪里啊?

stcllnb 2006-10-30 06:53:43
public static readonly string ConnectionStringLocalTransaction = ConfigurationManager.ConnectionStrings["SQLConnString1"].ConnectionString;

public static readonly string ConnectionStringInventoryDistributedTransaction = ConfigurationManager.ConnectionStrings["SQLConnString2"].ConnectionString;

public static readonly string ConnectionStringOrderDistributedTransaction = ConfigurationManager.ConnectionStrings["SQLConnString3"].ConnectionString;

public static readonly string ConnectionStringProfile = ConfigurationManager.ConnectionStrings["SQLProfileConnString"].ConnectionString;
这几条语句都是DBUtility项目中SQLHelper.cs文件里面连接数据库库的变量,存放的是连接数据库的字符串,但是在程序中找不到SQLConnString1,SQLConnString2,SQLConnString3,SQLProfileConnString这个参数,连接数据库的字符串存放在哪里????高人指点一下
...全文
207 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
SammyXu 2006-11-02
  • 打赏
  • 举报
回复
在web.config中,加密了,你运行一下petshop4.0目录下的decryptwebconfig.bat解密就可看到了.
stcllnb 2006-10-31
  • 打赏
  • 举报
回复
web.config中好像没有啊,我怎么找不到?petshop 3.0是放在Web.config中,但是在4.0中好像没有啊
levin9 2006-10-30
  • 打赏
  • 举报
回复
web.config
家密啦,密码好象是password
daishengs 2006-10-30
  • 打赏
  • 举报
回复
在安装目录下的WEB目录下的WEB..config中设置。
wxy0401 2006-10-30
  • 打赏
  • 举报
回复
同上
xrll 2006-10-30
  • 打赏
  • 举报
回复
web.config
stcllnb 2006-10-30
  • 打赏
  • 举报
回复
ding

62,041

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧