Answer the question
In order to leave comments, you need to log in
How to make an ADO.NET request without specifying a database?
Hello. I use ASP.NET MVC 5, developing on the local machine in the request from the code I used the following format (ADO.NET): SELECT * FROM [DataBase].[dbo].[Technologies]
Connection String:
<add name="main" connectionString="Data Source=PC;Initial Catalog=DataBase;Integrated Security=True;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" providerName="System.Data.SqlClient"/>\
SELECT * FROM [dbo].[Technologies]
SELECT * FROM Technologies
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question