Simple program on C# Windows Forms App (.NET 6.0 Framework) that does CRUD (Create Read Update Delete) on SQL Server database.
To run this you will need:
- Visual Studio 2022
- SQL Server 2019
- SQL Server Management Studio 19 Preview 3
Useful resources: Installation and setup Microsoft SQL Server by Semyon Alekseev and How to connect C# to SQL by IAmTimCorey
Database name: CRUD
Table name: dbo.People
Data types:
Note: this code in theory may be used for SQL injection, to fix it change DataAccess.cs to use stored procedures instead of direct sql queries.
Dapper v1.50.2 by Sam Saffron, Marc Gravell and Nick Craver
This program is licensed under the MIT License. Please read the License file to know about the usage terms and conditions.