+ 1
Any one have some tips for learning database programing in c# ?
Like adding a database, modifying
5 Réponses
+ 1
heck yeah! gimme a second
+ 1
if you want to learn the basict i recommend you to use service-based database. are you running visual studio?
+ 1
if yes, do "ctr shift a" and add a "service based database". it is automatically created in your project. you can visit "server exploler" on the left and add things manually or try to refer to your DB from code and add things that way. hope this helps!
+ 1
use sqlexpress. In c# use a sqlconnection with a sqlcommand and a datareader. You can do almost anything using sql.
sqlconnection is in the system.data.sqlclient class
https://www.dotnetperls.com/sqlconnection
+ 1
Thanks Alot Paul and Sneeze ☺