Create Modern UI Login Form with SQL Server Database in C#

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 97

  • @CSharpCodeAcademy
    @CSharpCodeAcademy  4 роки тому +2

    Go Check Out
    New Awesome Video is OUT => ua-cam.com/video/t4Kg62UeSws/v-deo.html

  • @emerala5292
    @emerala5292 3 роки тому +1

    lol cracked bunifu im lovin that

  • @alvaroesquivel6338
    @alvaroesquivel6338 5 років тому +4

    Thanks bro! You made the things easier for me. A huge, very deserved, LIKE.

  • @Elementaler69
    @Elementaler69 5 років тому +1

    Worked for me thank you very much!
    And guys just follow his steps, I had to start over several times and double-checked multiple times before i got it right.
    Like button given

  • @Mr_Cawed
    @Mr_Cawed 2 роки тому

    🥰🥰🥰🥰 thanks bro keep going

  • @umertariq8266
    @umertariq8266 4 роки тому

    Thank you ... This video is very helpful ❤️

  • @smok667_
    @smok667_ 4 роки тому

    Thanks you for the video !

  • @Gorkid0
    @Gorkid0 3 роки тому +1

    How can i make multiple logins? Like i've added one more account to the db but it didn't work

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  3 роки тому +1

      check out this video => ua-cam.com/video/t4Kg62UeSws/v-deo.html

    • @Gorkid0
      @Gorkid0 3 роки тому

      @@CSharpCodeAcademy Will it work with Windows Form Apps?

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  3 роки тому

      it'll works because the backend is same.

  • @Gorkid0
    @Gorkid0 3 роки тому +1

    i can login with my PC but i can't login with my other PC. Basically i want other people to login...
    *Server was on*

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  3 роки тому

      if you want to login remotely like from other PC so you need to setup server either host on a network or host on cloud then you'll be able to login

  • @alphaeffects
    @alphaeffects 4 роки тому +2

    having error messages on both text boxes. used the same plugin you uploaded and i have error messages here. ( this is for all of them. ) ( ill be showing you where the error is using ** )
    {
    if (**txtPassword**.Text.Equals(""))
    {
    **txtpassword**.text = "Password";
    }
    }

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому

      follow the steps carefully, the error will be resolved.

  • @dan110192
    @dan110192 4 роки тому

    Hi! Interesting tutorial. Could I use the using block in the btnLogin_Click method instead of con.Open() and Close() and to make sure I can handle any type of Exception it might return?

  • @walitechtips
    @walitechtips 6 років тому +2

    can you make any management system project using sql database with oop concepts ? Make a video on that.. it will be helpful :)

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  6 років тому +1

      It will take time, i'll try my best to publish video soon

    • @walitechtips
      @walitechtips 6 років тому

      @@CSharpCodeAcademy Thanks :)

  • @peacemekka
    @peacemekka 4 роки тому

    I got way confused watching this. Might have to watch it again to properly understand. Nice tutorial though.

  • @a.danielbarreraserna1556
    @a.danielbarreraserna1556 4 роки тому +2

    HELP!
    I add another column of user and password and when I tried to access didn't recognise the user.

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому +1

      Sorry to say, it's just an example and it's works for only one user, we'll upload another tutorial very soon for multiple accounts login.

    • @a.danielbarreraserna1556
      @a.danielbarreraserna1556 4 роки тому

      @@CSharpCodeAcademy Oh, thats why, lol. Anyway, thanks for the video!

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому

      Follow This New Tutorial For your Previous Problem ua-cam.com/video/t4Kg62UeSws/v-deo.html

  • @anssr8876
    @anssr8876 5 років тому +1

    hmm, it seems like when you enter a username that doesnt exist the error message doesnt come up? any fix to this? i tried myself but no solution :\ im new to c#/visual

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      you can check either username exist or not but this video has little bit different scenario. Error msg only pop up when you press login button according to this tutorial.

    • @anssr8876
      @anssr8876 5 років тому

      @@CSharpCodeAcademy i find that when you put a username that exists but with the wrong password then you get the error message but if you put a username that doesnt exist then no message pops up?

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      you have to add a method that ensures the username exists or not to textbox. Use leave(built-in) event handler for it, you'll find this event handler inside property panel.

  • @CuzlmLegit
    @CuzlmLegit 4 роки тому +1

    every time i try to run it says that it cant connect to the sql server. by: con.Open();

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому

      Make sure the connection string is correct.

    • @CuzlmLegit
      @CuzlmLegit 4 роки тому

      @@CSharpCodeAcademy i checked it and i tried testconnection and it was successfull. but when i execute it says cannot connect to the sql server. copied the string from appconfig

  • @iknow9479
    @iknow9479 5 років тому +1

    when I press ctrl +S it opens the windows tab

  • @josemariemojica2474
    @josemariemojica2474 4 роки тому

    one more question !
    can you help me in Sql Server Management Studio
    i cant find sql server in my services.msc also configuration manager is missing , i have watch many videos, but it didnt help me in my problem , please response . thanks
    I have installed 18.4 version of ssms .

    • @blnd838
      @blnd838 4 роки тому

      bro uninstall all of them and download sql server maangmnet studio 2019 after that download serv er 2019 and u are ready to go

  • @abal6127
    @abal6127 5 років тому

    What is bunifu ? Is it a library that can be added or what? I’m new in designing

    • @cube6051
      @cube6051 5 років тому

      bunifu has multiple form items like buttons textboxs and more on a dll but you need to buy it for like $200 or you can pirate it like the guy on tutorial did

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      bunifu is a framework containing tools and forms that is unique and make more attractive and modern design.

  • @crazydrifter13
    @crazydrifter13 5 років тому

    What is the minimum version of visual studio required? Will 2012 update 5 work?

  • @tanos.
    @tanos. 4 роки тому

    Operator '&&' cannot be applied to operands of type bool and string
    Please help

  • @jamilebadr5325
    @jamilebadr5325 4 роки тому

    Thank you dude, but i want you to make a simple video about how to adjust a textbox to post new updates to the users from database or directly from within the application

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому +1

      Thanks for the idea!

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому +1

      btw check out the new login Tutorial you'll get it better : ua-cam.com/video/t4Kg62UeSws/v-deo.html

    • @jamilebadr5325
      @jamilebadr5325 4 роки тому

      C# Code Academy i’ll check this out. But what about my idea... Are you willing to upload a video about how to do it ? Thank you!

  • @mnousherwan1027
    @mnousherwan1027 3 роки тому

    hy i don't have bunifo text in properties kindly guide me please

  • @zerosandones7547
    @zerosandones7547 5 років тому

    how to do this if you have an admin user and a standard user?

  • @omerhazim9717
    @omerhazim9717 3 роки тому

    sir i did same as your video it is work well but when i add new user in sql server i try to login in visual studio it is written wrong pass or username what should i do when i want add new user

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  3 роки тому

      For multiple user accounts, follow the new video. You can find the link in the pinned comment.

    • @omerhazim9717
      @omerhazim9717 3 роки тому

      @@CSharpCodeAcademy thank you sir

  • @mohamedhamidouaffizou5051
    @mohamedhamidouaffizou5051 4 роки тому

    God bless you

  • @Omarhi51llarious4tsxdl1l
    @Omarhi51llarious4tsxdl1l 4 роки тому

    if user name are more than 1, how to know which user login? Can you show the user name?? Such as "Welcome "abc"?

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому +1

      Follow this tutorial ua-cam.com/video/t4Kg62UeSws/v-deo.html
      And comment if don't get your point there

  • @roesler00
    @roesler00 4 роки тому

    Please dont use this kind of "authorization" for ur Progarmm. It's highly unsecure to jsut add users and not encrypted passwords in a table.

  • @LuukOriginal
    @LuukOriginal 4 роки тому

    It works only with 1 person in the table :(, I added a second one but I just don't work, you know how to fix?

    • @david-thang-coder
      @david-thang-coder 4 роки тому

      You should change CommandText = String.Format{"Select * from AUTH where username = {0}, password = {1}", txtUsername.Text, txtPassword.Text)

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому +1

      thanks for updating, but you can use "+" operator or string.format but both will return same string.

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому

      Follow this new Tutorial ua-cam.com/video/t4Kg62UeSws/v-deo.html

  • @BABTOUTV
    @BABTOUTV 5 років тому

    is it work if i give the soft ware to my friend , he can connect to his account ?

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому +1

      Obviously, it will work.

    • @BABTOUTV
      @BABTOUTV 5 років тому

      @@CSharpCodeAcademy ok i will try ty

    • @BABTOUTV
      @BABTOUTV 5 років тому

      @@CSharpCodeAcademy and can i manage accounts of my friends ?

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      @@BABTOUTV you can if you are a database administrator.

    • @BABTOUTV
      @BABTOUTV 5 років тому

      @@CSharpCodeAcademy yea ok but my computer must be open for connect ?

  • @mr.rabbit8722
    @mr.rabbit8722 4 роки тому +1

    Not very good tutorial, it only works for a single user in a table, and the music is horrible.

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому

      yeah, it's for only single user, thanks for your feedback.

  • @theintellect2741
    @theintellect2741 4 роки тому

    Are you using sql server with linq

  • @josemariemojica2474
    @josemariemojica2474 4 роки тому

    thanks for this ,
    can you make a video how to download bunifu framework , TIA

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому +1

      watch this video: ua-cam.com/video/5PWvmBH9DpY/v-deo.html and in the description you'll get the link to download bunifu framework

    • @josemariemojica2474
      @josemariemojica2474 4 роки тому

      @@CSharpCodeAcademy thanks :)

  • @cube6051
    @cube6051 5 років тому

    everytime i login with the correct username it brings me the error that says thats incorrect and then the error that the login is correct how can i fix this? i use visual studio 2019 if that matters...

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      the version of visual studio doesn't matter, the thing is you have to check your database

  • @mubeenmujahid7540
    @mubeenmujahid7540 6 років тому

  • @hab5598
    @hab5598 3 роки тому

    Connection

  • @ahmedshatat6445
    @ahmedshatat6445 3 роки тому

    bro, can you Provide a link to download visual studio

  • @aphunghoanganh8449
    @aphunghoanganh8449 3 роки тому

    were is form exit bruh ?

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  3 роки тому +1

      unfortunately, in this form there is no exit but you can create the exit,
      check out the better one: ua-cam.com/video/t4Kg62UeSws/v-deo.html

  • @LEXKAY02
    @LEXKAY02 4 роки тому

    create table admin and user plz bro...

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  4 роки тому +1

      follow this new tutorial ua-cam.com/video/t4Kg62UeSws/v-deo.html

  • @preparetodie4457
    @preparetodie4457 5 років тому

    How to add user?

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      you can design User Registration Form or directly enter the values to Db.

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      @@sandessat6384 could you explain what you wanna ask?

  • @joetatle
    @joetatle 4 роки тому +1

    Does anybody notice he's using a cracked version, witch is illegal.

    • @Mr_CrowFPV
      @Mr_CrowFPV 4 роки тому +1

      Does anyone care? Nope

  • @itechdivyanshu2434
    @itechdivyanshu2434 5 років тому

    Can I get the source code??

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      you can create your own source code by following the tutorial.

    • @itechdivyanshu2434
      @itechdivyanshu2434 5 років тому

      Actually I did it but every time I enter txtUsername.Text
      It shows error

    • @CSharpCodeAcademy
      @CSharpCodeAcademy  5 років тому

      @@itechdivyanshu2434 you need to use the name for your textbox

    • @itechdivyanshu2434
      @itechdivyanshu2434 5 років тому

      I used it but red underline was under" .Text " portion