+ 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?
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
+ 1
mySql would be a better option to start.....