MySQL Login & Register Form System in C# Tutorial

25
3



Hi guys, in this tutorial I am going to show you how to make a MySQL Login & Register Form System in C# step by step in just a few simple steps very easy. You will need the MySQL .NET connector to be able to access the methods and functions that are requiered.

#Download
MySQL-NET Connector:
Project: soon!

#Website
Website:
Forum:

#Social
Twitter:
Facebook:

#Messenger
Telegram: SeeSharper
Skype: hazardedit

#Email
Email: hazardbusiness@outlook.com

Nguồn:https://wijstaanvooronzegrondrechten.org/

25 COMMENTS

  1. Hey, I have made a program in c# with MaterialSkin template and I made a classic WinForm app, in Winform the code is working, but in Materialskin with the same code it isnt. Its popping some kind of message like:System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary! pls help 🙂

  2. System.ArgumentException

    HResult=0x80070057

    Nachricht = Option not supported.

    Parametername: $server

    Quelle = MySql.Data

    Stapelüberwachung:

    bei MySql.Data.MySqlClient.MySqlBaseConnectionStringBuilder.GetOption(String key)

    bei MySql.Data.MySqlClient.MySqlConnectionStringBuilder.set_Item(String keyword, Object value)

    bei System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(String value)

    bei MySql.Data.MySqlClient.MySqlBaseConnectionStringBuilder..ctor(String connStr, Boolean isXProtocol)

    bei MySql.Data.MySqlClient.MySqlConnection.set_ConnectionString(String value)

    bei MySql.Data.MySqlClient.MySqlConnection..ctor(String connectionString)

    bei WindowsFormsApp1.Form1..ctor() in C:UsersthisisourcereposWindowsFormsApp1WindowsFormsApp1Form1.cs: Zeile32

    bei WindowsFormsApp1.Program.Main() in C:UsersthisisourcereposWindowsFormsApp1WindowsFormsApp1Program.cs: Zeile19

  3. Hey! 2018 here and your code is still good 🙂 Well , that and except 1 thing. I needed to add VALUE 1 or 2 into your code at the string query ( depending on the user id in the table ) to make it work to login or register. I am using an external database, but I don't think that's the problem. The idea is that the mysql does not know the user id , and even if the user/pass is correct, it would not let me login with an empty VALUE for 'id'. So , any idea to .. fix this to make it work properly ? Thanks!

  4. dude im sorry cause i new to this things. i have a textbox i named "MainTextBox" like ur username textbox. Should i change the "string user = tbUser.Text"? into what? thx for help.

  5. You people will definitely find it useful. Here I have shown that how to use INSERT command of DML in C#.
    https://youtu.be/U4DQNNRs8rM

LEAVE A REPLY

Please enter your comment!
Please enter your name here