Unless you use some kind of (simple) flat file DB, you'll probably need specialized library or tool for connecting, retrieving or changing data.
Do you understand basic principles of working with data in .Net(
ADO.Net or
.Net Core way)?
If you do, here are first 3 results from my google search :
ADO.Net provider
Code guru tutorial
Another tutorial