Create, Read, Update, Delete (CRUD) Using C#

Language

In this code, we create a basic Create, Read, Update, Delete (CRUD) Using C#. This simple project creates a database connection using a wizard (i.e. data binding). To make it little appealing, I created a customize buttons for navigating the record. I then hide the BindingNavigator to avoid duplicate control. One important problem I encounter is you’re not allowed to create the same name of the Project and the Form. Example, don’t create a form named “CRUD” if your project name is also “CRUD”. This will create the same namespace for both the project name and the form name. Hence create a conflict between the two. In the next project, I will create a simple CRUD application that is not based on data binding or a wizard. I’m a fan of data binding but for the sake of this tutorial, let’s see how easy it is to create a hard coding connection to our database. Let me know if you encounter any problem on this project. Technicalities: Visual Studio 2019 Language: C# Database: Microsoft SQL Server Database File

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment