Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to identify columns and db name in VB.net

Posted on 2016-08-14
9
Medium Priority
?
49 Views
Last Modified: 2016-08-19
We have a series of VB.net code that we can't find the databases was designed for.  We would like to know what area to look at in the code where databases and fields are being coded.
0
Comment
Question by:rayluvs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 

Author Comment

by:rayluvs
ID: 41755677
Note: we have someone searching other computers for the database.  With the data identify we can relate code and db (also note, and forgot to put in the question, the database are in MS SQL2005)
0
 
LVL 12

Expert Comment

by:funwithdotnet
ID: 41755708
Does the vb code contain a connection string? that the only place that "needs" a database reference.
0
 

Author Comment

by:rayluvs
ID: 41755745
Don't know... how can we identify these area of connection string?

Also, these connection strings, are they called everytime the table are being read or written?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 64

Accepted Solution

by:
Fernando Soto earned 2000 total points
ID: 41755903
Hi rayluvs;

See if you can do a global search for one of these types in the code SqlDataAdapter, SqlConnection, SelectCommand, or SqlCommand.

To your question, "Also, these connection strings, are they called everytime the table are being read or written?", no they are used when the program needs to connect to the database before any data can be passed back and forth.
0
 

Author Comment

by:rayluvs
ID: 41756398
Thanx!!
0
 

Author Comment

by:rayluvs
ID: 41756402
Last question, what command in the code does an actual write or read to the tables?
0
 
LVL 64

Expert Comment

by:Fernando Soto
ID: 41756514
That depends on the technology that is being used. You can look for SqlDataAdapter.Update command to see if you find it.
0
 

Author Comment

by:rayluvs
ID: 41762211
Thanx!
0
 
LVL 64

Expert Comment

by:Fernando Soto
ID: 41762272
Not a problem rayluvs, glad to help.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question