0

Link database to v studio in c#

What the best way to link database by windows forms?

3rd Jul 2021, 2:53 PM
Abbas Al-jubouri
Abbas Al-jubouri - avatar
4 Réponses
+ 1
Well, the best way would be to study up on 3 layer application development and probably ReST API. You would create a data access layer which could be a web API using ReST. Your application could then make ReST calls over HTTP or HTTPS to GET, POST, PUT, or DELETE. But if you aren't talking about best practices, design patterns, or principles then, look at adding dapper and connecting via a connection string and SQLClient.
4th Jul 2021, 4:41 AM
Kail Galestorm
Kail Galestorm - avatar
+ 4
Abbas Al-jubouri You misunderstood my question. But... it looks like you found your answer. So no big deal. 👌
4th Jul 2021, 3:00 PM
David Carroll
David Carroll - avatar
+ 1
Are you asking how to connect your IDE to a database or to your app?
4th Jul 2021, 6:34 AM
David Carroll
David Carroll - avatar
0
Yes David
4th Jul 2021, 7:07 AM
Abbas Al-jubouri
Abbas Al-jubouri - avatar