+ 5

How to use database in c# application?

Should I learn sql (but how to retrieve data in c# app etc?), maybe LINQ or are there other options? And which database is the best for start, mySql, mirosoft sql server, postgresql, nosql?

16th Jun 2017, 6:23 PM
Wiola
Wiola - avatar
2 odpowiedzi
+ 4
Agree, mySql is a good option to start. http://csharp.net-informations.com/data-providers/csharp-sql-server-connection.htm use a SqlConnection to connect to the database use a SqlCommand to define your request "select * from tableX" and a SqlDataReader to read the data
16th Jun 2017, 8:14 PM
sneeze
sneeze - avatar
+ 1
mySql would be a better option to start.....
16th Jun 2017, 6:34 PM
avinash Fav
avinash Fav - avatar