T
T
TCloud2019-02-28 22:51:10
Database
TCloud, 2019-02-28 22:51:10

How to use DB tables created with constructor???

I created a project in MS Visual Studio 2017. I stuffed a data source into it and set up this data source, that is, I added tables, distributed links, etc. I write a function that sends a request to the database, and then it started! The exception 'Invalid object name "STOCKS" is thrown. I’m sitting scratching my head for what the debugger is kicking me for, as a result I got into the SQL Object Explorer, looked at what was going on in my database files and ended up in a dead end. The browser did not display any of the tables I created earlier in the data source constructor...
The question is, why is this constructor needed there at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2019-03-02
@OTCloud

Create a database in Visual Studio .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question