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

preview_player
Показать описание
C# Make a Signin And Signup Form With MySQL Database

------------------ Check out my C# Projects! --------------------

-------------------------------------- C# PRODUCTS --------------------------------------

------------------------------------ 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.

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 -----------------------------

--------------------------------------------------------------------

programming projects with source code:

C# And Java Programming Books

#Csharp #Login #Register #Project #Design #Mysql #Source_Code
Рекомендации по теме
Комментарии
Автор

Thank you for this tutorial! It helped me create the register and login database for my app

kevinmooney
Автор

Thank you so much for the awesome tutorial. :) Keep it up!

asiyakhan
Автор

Hello, if i wanted to use vs 2019 im on the part for checking your empty fields. How would i do it without using the || when using the if statements

MilesHex
Автор

you're my life savior thank you :')

Husdajukies
Автор

Sir can you please tell me where I am wrong?
When I click on login button without enter any username & password I got this error -
" Exception thrown: 'System.ArgumentException' in System.Data.dll option not supported "

anujagarud
Автор

hey Boss....help me solve unhandled exception of type 'System.ArgumentException' occurred in System.Data.dll

kelvinomoke
Автор

I'm using a MySQL database to create the tables and I'm confused with how to make this code work for me, I only need the Sign Up function and Ive gotten up to "check if username already exists" but it becomes extremely different from here. Was wondering if i could make this code work for me?

goobert
Автор

I'm having trouble with the the connector after adding the add reference it shows there is no item found

danieldsouza
Автор

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 :)

TMZj
Автор

link to site off. not seed email.. help plis. thx for video!

maisumdev
Автор

Maraming salamat kapatid pagpalain ka sana

rjwayward
Автор

I have a problem like this ;


I'm using visual studio 2020 or 2019 IDK but this version don't accept the public boolean, and Don't accept the same command, db... how can I fix this problem ?

halilbatros
Автор

goddamn dude thx maybe ill try create smth cool

scripter-ggwq
Автор

is the version of the visual studio necessary to run this codes?

darwinjolocuello
Автор

pls help when I press login it says : 'The type initializer for threw an exception.'
FileNotFoundException: Could not load file or assembly 'System.Management, Version=4.0.0.0, Culture=neutral,

louismastbooms
Автор

I loved the tut but why on earth have you wasted 25 mins for that form?

btw thanks helped me a lot

blackbird
Автор

where do you locate your my.sql.data.dll? sorry i really don't know reply asap

viperradiusbot
Автор

election management system i want will you give me source code

artbelief
Автор

Help please!! I got this error on 47:12
"The primary reference "MySql.Data, Version=8.0.16.0, 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".

pikachubm
Автор

Bhai ismai jo user or login ke photo mil he nhi rahe or jo dusre hai o add nhi ho tahe

vishalkhot