How to Create a User Registration Form in C#.NET using SQL Server Database and Visual Studio 2022?

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • This video tutorial shows you how you can create a user registration form using SQL server database and visual studio 2022 with user validation to check if the controls are empty or not in C#.NET with Source Code . c# login and register form with database , how to add windows form in visual studio 2022 , registration form in c# windows application , registration form in visual studio 2022 | login and registration form in c# | user registration c# | user registration form in c# | signup form in c#.net | signup in c# | signup in c#.net
    Login form in c#.net: • How to Create a Login ...
    Support Us on Patreon: / runcodes
    Source Code: www.runcodes.t...
    Visual Studio: visualstudio.m...
    SQL SERVER: www.microsoft....
    SQL SERVER MGMT STUDIO: aka.ms/ssmsful...
    Join this channel to get access to perks:
    / @runcodes
    Follow us on Social Media:
    Facebook: RunCodesPage
    Instagram: runcodes
    Twitter: RunCodesTwit
    This video is created by Ran and RunCodes own this video. Using of this video on other channels without prior permission will be strictly prohibited. (Embedding to the websites is allowed).. So stop copying and be a responsible people. #userregistrationform #registration #registrationform

КОМЕНТАРІ • 21

  • @nobodyknows730
    @nobodyknows730 Місяць тому

    It was too useful. Many thanks to you

  • @MrArkaneMage
    @MrArkaneMage 3 місяці тому

    Very nice and detailed guide.
    Thanks a lot, Sir! :)
    Only one point as critics but its subjective... in my opinion it were too many fields so it sort of blurred the logic behind the commands. It's not too bad but especially people with short attention spans have issues following the whole line then. :)
    It would be better to use e.g. a simple "Username" and "Password" data set and explain how to expand it after explaining the core structure of it.

  • @tecnom7133
    @tecnom7133 6 місяців тому +3

    Thanks

  • @AbrarNiazi-lj2dy
    @AbrarNiazi-lj2dy 4 місяці тому

    Right jawa brather ok thanks.

  • @arcanagi4229
    @arcanagi4229 4 місяці тому

    Hey bro, I loved your video, it really helped me, but I have some questions, I don't know if you could help me. Do you know how to limit the user from leaving blank spaces in the registration form? Make sure that the user fills in all the spaces for first name, last name, username, etc., so that there are no blank spaces in the database

    • @RunCodes
      @RunCodes  4 місяці тому

      Watch video after 21:41, we already did that!

  • @itz_humble648
    @itz_humble648 4 місяці тому

    How do you update the account registration to the login form? The loginapp database did not update after registering.

    • @RunCodes
      @RunCodes  4 місяці тому +1

      For that you have to use the same database for login and registration! And for login use email and password field of registration database! The query is select * from registration where email =@email and password =@password

    • @itz_humble648
      @itz_humble648 4 місяці тому

      @@RunCodes Hey man! I have successfully been able to register and login using the same database as you stated here. However, having a direct connection to my sql server is pretty risky and i was wondering if you could make a video(or already have) on how to to setup an api within the project and how to implement the api connection on both the server side /database and our application!

    • @RunCodes
      @RunCodes  4 місяці тому

      @itz_humble648 sorry sir we dont have such video

  • @bottapriyankayadav8004
    @bottapriyankayadav8004 4 місяці тому

    Sir i tried what ever you did from video. But I'm unable to store the data in database. It's not showing the popup also.

    • @RunCodes
      @RunCodes  4 місяці тому

      Check your code, the source code is in the description of video!

    • @AFIAMALIHAAYSHARJO
      @AFIAMALIHAAYSHARJO 3 місяці тому

      @@RunCodes I am facing the same issue. it shows this error :System.Data.SqlClient.SqlException: 'Implicit conversion from data type nvarchar to varbinary is not allowed. Use the CONVERT function to run this query.'

    • @RunCodes
      @RunCodes  3 місяці тому

      It means you choose binary data type while designing your database data type. Choose varchar datatype in your database schema while defining it!

    • @patiljanhavi344
      @patiljanhavi344 2 місяці тому

      If u use database directly in visual studio then just create table and update table

  • @eyeofthetiger8287
    @eyeofthetiger8287 4 місяці тому

    And what about the Login Button ?

    • @RunCodes
      @RunCodes  4 місяці тому

      Here you go! How to Create a Login Form in C#.NET using SQL Server Database and Visual Studio 2022? [Source Code]
      ua-cam.com/video/JgdPrbgHVoE/v-deo.html

    • @RunCodes
      @RunCodes  4 місяці тому

      And you can open login form as this.hide
      LoginForm f1= new LoginForm()
      f1.ShowDialog()

  • @eyeofthetiger8287
    @eyeofthetiger8287 4 місяці тому +1

    get an Error like : System.Data.SqlClient.SqlException : Incorrect syntax near @ Description' ,'
    cmd.Parameters.AddWithValue("@Phone", txtPhone.Text);
    cmd.Parameters.AddWithValue("@City", txtCity.Text);
    cmd.Parameters.AddWithValue("@Description", txtDescription.Text);
    cmd.ExecuteNonQuery();

    • @RunCodes
      @RunCodes  4 місяці тому

      Show me sql query!