ebolblga / SQL-WinForms-CRUD

Simple WinForms to SQL Server connection program

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQL-WinForms-CRUD

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:

Useful resources: Installation and setup Microsoft SQL Server by Semyon Alekseev and How to connect C# to SQL by IAmTimCorey

image

Database name: CRUD
Table name: dbo.People
Data types:
image

Select Top 1000 Rows:
image

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.

Dependencies

Dapper v1.50.2 by Sam Saffron, Marc Gravell and Nick Craver

License

This program is licensed under the MIT License. Please read the License file to know about the usage terms and conditions.

About

Simple WinForms to SQL Server connection program

License:MIT License


Languages

Language:C# 100.0%