Asked by:
How to find a particular database table in the code

Question
-
User496086301 posted
I have a old application , no solution file ,around 500 aspx pages. Any easy way to find a particular database table used in which page?
Wednesday, December 12, 2018 12:08 AM
All replies
-
User475983607 posted
Use the Find feature in Visual Studio, Ctrl-f, to find the table name string.Wednesday, December 12, 2018 12:13 AM -
User496086301 posted
Open each page and look?
Wednesday, December 12, 2018 6:34 PM -
User475983607 posted
Open each page and look?
Visual Studio has a built-in "Find" feature where you can search the current project or solution; ctrl+shift+f.
Or click the edit drop down menu and go to Find and Replace.
https://docs.microsoft.com/en-us/visualstudio/ide/finding-and-replacing-text?view=vs-2017
Wednesday, December 12, 2018 6:38 PM -
User1724605321 posted
Hi sushsudh,
If you need feature like multiline search and replace in Visual Studio , you can also try some extensions like this one :
https://marketplace.visualstudio.com/items?itemName=PeterMacej.MultilineSearchandReplace
Best Regards,
Nan Yu
Tuesday, January 8, 2019 2:32 AM -
User379720387 posted
CTRL F
then set the scope of the search to "entire solution"
Friday, January 18, 2019 9:27 PM -
User753101303 posted
Hi,
No. You can search for a string in all files in a project or solution :
https://docs.microsoft.com/en-us/visualstudio/ide/find-in-files?view=vs-2017
Even with no solution you should be able to use File, Open, Web Site to "open" this folder and search for a string in all files stored there....
Monday, January 21, 2019 12:46 PM