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.Database.ExecuteNonQuery(CommandType.StoredProcedure, "ABCcomp", SelectParameter)


i think that 'SelectParameter' is a variable that is actually being sent over to the sproc correct?
LVL 10
GlobaLevelProgrammerAsked:
Who is Participating?
 
CodeCruiserCommented:
It can be in a DLL. Search for the function name in the entire solution.
0
 
GlobaLevelProgrammerAuthor Commented:
theres a namespace called...

Imports abcComp.Company
0
 
CodeCruiserCommented:
I would think so. Do you have access to abcComp.DataAccess.Database.ExecuteNonQuery?

Are you able to attach to the website and step through the code?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
GlobaLevelProgrammerAuthor Commented:
ALSO

  Dim ds As DataSet = abcCOMP.DataAccess.Database.ExecuteDataset(CommandType.Text, SQLQuery)

How does it know what stored procedure to send to?.."CommandType.Text" ?
0
 
GlobaLevelProgrammerAuthor Commented:
I would think so. Do you have access to abcComp.DataAccess.Database.ExecuteNonQuery?


>>> yeah,its somewhere buried in this massive thing....I think its pulling from that custom namespace...Imports abcComp.Company
0
 
Paul MacDonaldDirector, Information SystemsCommented:
That would be a function of the abcComp class..
0
 
GlobaLevelProgrammerAuthor Commented:
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...
0
 
Paul MacDonaldDirector, Information SystemsCommented:
Can you right-click on it and "Go to definition"?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.