C# Database Programming For Beginners | Part 1 – Creating A SQL Server Database


In this series, we’ll create a Windows Forms desktop application that reads and writes data in a SQL Server database. We’ll learn how to write select, insert, update, and delete SQL queries and how to implement those queries in a C# application.

In part 1, we set up the database for the application. We add tables and columns and define primary and foreign keys.