GlobaLevel
asked on
vb.net - How do I find the sql connection string is set
I took over site and I dont see where they are setting up this sql connection string in the code..
sample_val = abcComp.DataAccess.Databas e.ExecuteN onQuery(Co mmandType. StoredProc edure, "ABCcomp", SelectParameter)
i think that 'SelectParameter' is a variable that is actually being sent over to the sproc correct?
sample_val = abcComp.DataAccess.Databas
i think that 'SelectParameter' is a variable that is actually being sent over to the sproc correct?
I would think so. Do you have access to abcComp.DataAccess.Databas e.ExecuteN onQuery?
Are you able to attach to the website and step through the code?
Are you able to attach to the website and step through the code?
ASKER
ALSO
Dim ds As DataSet = abcCOMP.DataAccess.Databas e.ExecuteD ataset(Com mandType.T ext, SQLQuery)
How does it know what stored procedure to send to?.."CommandType.Text" ?
Dim ds As DataSet = abcCOMP.DataAccess.Databas
How does it know what stored procedure to send to?.."CommandType.Text" ?
ASKER
I would think so. Do you have access to abcComp.DataAccess.Databas e.ExecuteN onQuery?
>>> yeah,its somewhere buried in this massive thing....I think its pulling from that custom namespace...Imports abcComp.Company
>>> yeah,its somewhere buried in this massive thing....I think its pulling from that custom namespace...Imports abcComp.Company
That would be a function of the abcComp class..
ASKER
if its in a .vb file under app_code folder how could I find that when there are too many to look individually? I want to look at the actual code...
Can you right-click on it and "Go to definition"?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Imports abcComp.Company