C# – How To Create Login And Register Form With MySQL DataBase In C#


C# Make a Signin And Signup Form With MySQL Database

Source Code:

—————— Check out my C# Projects! ——————–

▶ Inventory Management System –

▶ Students Information System –

▶ Contacts Management System –

▶ Hotel Management System –

▶ All My Programming Projects Here –

▶ My Source Code Store Here –

————————————– C# PRODUCTS ————————————–

▶ Get C# Projects Bundle –

▶ Learn C# And More –

———————————— Project Description ————————————

in this c# tutorial we will see how to Design a login and Register form and Connect This Two Forms With MySQL Database.

What We Will Use To Build This Project ? :
– Csharp Programming Language.
– Visual Studio IDE.
– XAMPP Server.
– MySQL Database.
– PhpMyAdmin.
– canva.com

What We Are Gonna Do In This Project:
– design the Login And Signup Forms With Panels, Labels, TextBoxes and Panels.
– navigate between login form and signup form using a label.
– create a placeholder text in the textboxes
– create a connection between Our C# Application and MySQL Database.
– create a Button To login, and Another Button to create a new account.
– create a mysql database to store the users data.
– make a validation if:
– the textboxes are empty.
– the username already exists.
– the confirmation password doesn’t equals the password.

C# Controls We Will Use In This Project:
– Windows Form
– Panel
– TextBox.
– Button.
– Label.
– PictureBox.

———————————– TABLE OF CONTENT ———————————–

▶ 00:00:00 The Final Result Demo
▶ 00:03:30 Create The Project File
▶ 00:04:40 Create and Design The Login Form
▶ 00:26:50 Download The MySQL Connector
▶ 00:31:15 Create The MySQL Database
▶ 00:35:00 Create The Connection Class “DB”
▶ 00:40:00 Create The Login Button Click Event
▶ 00:48:20 Create The Register Form
▶ 01:26:30 Create The Signup Button Click Event
▶ 01:37:41 Check If The Username Already Exist
▶ 01:46:14 Create a Function to Check & Verify The Empty Fields
▶ 01:57:15 Check If The Two Password Fields Are Equals
▶ 02:12:15 Create a Label in the Login Form to go to the Signup Form
▶ 02:18:50 Create a Label in the Register Form to go to the Login Form

————————– C# Tutorials —————————–

▶ C# Create Calculator –

▶ C# Tic Tac Toe Game –

▶ C# Treeview Tutorials –

▶ C# File IO Tutorial –

▶ C# Insert,Update,Delete,Search,Display Images From MySQL Database –

▶ C# And MySQL Tutorial –

▶ C# DataGridView Tutorial –


visit our blog




programming projects with source code:

C# And Java Programming Books

share this video:

#Csharp #Login #Register #Project #Design #Mysql #Source_Code




    If I give this app to a friend, would it work FULLY, (so they can sign up & login)

  2. How would you convert this to Unity Game Engine? The reason I ask is it also uses Visual Studio and i only happened to stumble on your video.

  3. i purchased your C# login and register .rar file but it didnt work please make it work or return my money i paid $0.50 via paypal

  4. this app is big and gaudy…and wayyy out dated to be put here 4 months ago it really doesn't do anyone any good unless they are using old versions of VS 2013 and Mysql ! update your stuff with newer software, such a lazy person !

  5. Hi man ! First of all thanks for sharing the code with us ! It's working and it's very helpful, it's amazing how you make look so easy and simple ! Thanks 🙂

  6. Help please!! I got this error on 47:12
    "The primary reference "MySql.Data, Version=, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".


Please enter your comment!
Please enter your name here