在哪里可以找到程序中的连接字符串 [英] Where to find the connection string in a program

查看:105
本文介绍了在哪里可以找到程序中的连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我刚刚在我雇主的文件夹中打开了一个系统,这个系统是由前任开发人员在大约5年前创建的。



但是,我很难检查连接字符串的设置位置

你能否帮我确定它的来源/ setup?



这是web.config中设置的连接字符串



Webconfig连接字符串设置



这是指未知连接字符串的页面



Default.aspx



然后我试图转向定义的SupplyConnectionString,我被引用了这个。



Dropbox - DLL ConnectionStr.JPG [ ^ ]



我试图浏览

Hi. I have just opened a system in my employer's folder which was created by the previous developer about 5 years ago.

However, I am having a hard time checking where the connection string is set up
Can you help me identify where it is coming from/setup?

Here is the connection string set up in web.config

Webconfig Connection String Setup

Here is the page that is referring to the unknown connection string

Default.aspx

And then i tried to "go to Definition " of SupplyConnectionString and I was referred to this.

Dropbox - DLL ConnectionStr.JPG[^]

I tried to navigate through that directory of

App_Code.kkxexofb.dll





但是我找不到文件。



请帮忙吗?



我尝试过的事情:



我试图找到该文件但没有运气



but I did not find the file.

Any help please?

What I have tried:

I tried to find the file but had no luck

推荐答案

Web.config文件包含2个连接字符串的定义:

Web.config file contains 2 definitions of connection string:


  1. SUPPLYConStr
  2. conString


这篇关于在哪里可以找到程序中的连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆