Login Form in C# windows form application with SQL database in Visual Studios.

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • This video contain step by step process of creating and coding a login form. It includes the creation of a database. Adding connection to the visual studio. Then the coding part.

КОМЕНТАРІ • 142

  • @TheSandDog
    @TheSandDog Рік тому +12

    Thank you I am programming a console application to manage animals for a company called (spa) its a place that animals go when people don't want them so its really useful liked and sub

  • @imasharajapaksha4246
    @imasharajapaksha4246 8 місяців тому +4

    You just saved me from getting repeated from my course. Thank you so much. Keep up the good work. ❤

  • @nixor1987
    @nixor1987 2 роки тому +13

    Finally a tutorial with dark mode

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

      yes, but this disturbing music on a tutorial ??

  • @dharshi.29
    @dharshi.29 9 днів тому

    Thank you dear life saver!!!!!!

  • @sparkvijay0719
    @sparkvijay0719 3 місяці тому +1

    You Saved My Day 🙌

  • @hungleviet7304
    @hungleviet7304 Рік тому +2

    Thank you very much. Your instructions are simple and helpful.

  • @almarezjoshuad.1382
    @almarezjoshuad.1382 Рік тому +1

    Thank you for this video i clearly understand how sql works

  • @muhammadasad-hj7un
    @muhammadasad-hj7un 4 місяці тому

    Very Good Explanation

  • @1111Charithya
    @1111Charithya 5 місяців тому +1

    Thank You sooooooooooo much sir.

  • @joshuaanana8673
    @joshuaanana8673 8 місяців тому

    thankz you save me alot of time
    finding this login

  • @kavindipindeniya
    @kavindipindeniya 7 місяців тому

    Thank you so much for this video. This helped me to complete my assignment

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

    Very nice guide.
    Thanks a lot, Sir! :)

  • @tracker_x1
    @tracker_x1 5 місяців тому

    you are the best of the best

  • @thecodeiackiller
    @thecodeiackiller 8 місяців тому

    Great video

  • @micahspecial5927
    @micahspecial5927 Рік тому +4

    4:47 i cannot find my database here :( help

    • @younis972
      @younis972 6 місяців тому

      discord is youniss if you still need help

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

      ua-cam.com/video/x_-osmAI_bQ/v-deo.html
      Late to this comment but, I had the same problem and here's a solution to it. Type "services" in search bar, find SQL Server Browser, right click on it/Properties/Set it to "automatic" from "disabled" and click apply/click on "start" and hit ok. Then refresh the server name in visual studio window.

  • @user-jn6ib7go9r
    @user-jn6ib7go9r 8 місяців тому

    good job friend..👍.Thanks ......💓 I think can you add you's voice it is good to understand better.

  • @nithyasuhadhini7586
    @nithyasuhadhini7586 18 днів тому +1

    I typed all the code correctly but I can't run it and get the windows form..please help me 😪

  • @doquockhoa
    @doquockhoa 5 місяців тому

    Thank you very much

    • @doquockhoa
      @doquockhoa 5 місяців тому

      @@dreamwantstobecoder1534 tui làm bình thường mà bro. Có j ib tui

    • @doquockhoa
      @doquockhoa 5 місяців тому

      ​@@dreamwantstobecoder1534 tui làm được mà ta

  • @isharalakshitha7759
    @isharalakshitha7759 Рік тому

    Good . Very helpful

  • @vishnumaya1930
    @vishnumaya1930 Рік тому

    Thank you so much sir. You helped me at the right time

  • @lyricszone05
    @lyricszone05 2 роки тому +1

    It’s so useful me thank you soooo much

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

    you just save my grade😂😂❤❤

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

    Wow exllent

  • @andreybulikanu5642
    @andreybulikanu5642 2 роки тому +3

    Now make a video with register form in C# connecting through SQL.And what about protection

    • @3dsbros64
      @3dsbros64 Рік тому

      I will help you with the protection - 3dsbros64#0001

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

    thank's brother u came at the right time

  • @validajohnclarence8996
    @validajohnclarence8996 Рік тому

    I like the song it can make me inspired

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

    Thank you so much 🤍😊

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

    Hey there,keep up the great work in your channel.
    I have only a general enquiry as a newbie sql learner.
    Could i channel shopify live data into an sql application?(This should be an application developed for a company of 50 employees mainly for the sake of generating reports and analytics))
    Is this an easy process to undertake as a sql beginner? What should i keep in mind
    and what are the tools or softwares that i should work with right from the beginning.
    For notice, I made my mind to work with microsoft sql server, also our company has a dedicated server.
    Thanks for taking care of my enquiry

  • @xuannghi4700
    @xuannghi4700 Рік тому

    Thank you for your video

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

    that really helped me a lot thank you so so much

  • @raviranjan2901
    @raviranjan2901 2 роки тому +2

    this video is very useful but login username and password has case-sensitive issue. Means your username is "Admin" and Password is "Admin@123" to login but when we give username as "admin" and password is "admin@123"; then we have successful login but here username and password is wrong in database.

  • @sahirunishshanka5338
    @sahirunishshanka5338 Рік тому

    great content😃❤

  • @maryj.turley1118
    @maryj.turley1118 10 місяців тому

    good video

  • @avaanthikaaavaanthikaa3969
    @avaanthikaaavaanthikaa3969 5 місяців тому +1

    Can u post a vedio for sign in and sign up page 🤌and ur vedios r helpful

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

    Thank u so much it really helped me

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

    Thanks for the vedio..

  • @BalkansConsultancy
    @BalkansConsultancy 9 місяців тому

    good job thankyou...

  • @massimochiapelli3366
    @massimochiapelli3366 Рік тому

    Great work!!!Thanks a lot!!!

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

    Thanks a looot! You are best!

  • @vinhngo5546
    @vinhngo5546 5 місяців тому

    thank you very much.!!!

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

    Thanks, this really helped.

  • @user-qo3cv1mt3y
    @user-qo3cv1mt3y Рік тому

    Thank you very much!

  • @programmer313
    @programmer313 2 роки тому +2

    Hi sir I have some problem when I write the correct username and password its show not correct I don't know why
    can you help me please?
    And I try to copy from table and past in textBox steal same problem

  • @patox300
    @patox300 Рік тому

    thanks a lot bro, youre awesome

  • @umaralhassanimoro8008
    @umaralhassanimoro8008 Рік тому

    very nice

  • @Sauceandpan
    @Sauceandpan Рік тому +2

    i copied the same exact steps but my login form completely ignores my try block and just displays error (error as in the catch block).

  • @mbktejaswi5801
    @mbktejaswi5801 7 місяців тому

    Thank u, one question - how to publish it and install it and use it in other system- database will be different in other computer

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

    How to find out the server name which you're doing in vs while connecting with sql. I'm using MySQL workbench.may i know plss

  • @hlflifeenjoyer6176
    @hlflifeenjoyer6176 Рік тому

    amazing

  • @ZhilanMohammed-wv8xy
    @ZhilanMohammed-wv8xy 7 місяців тому +4

    i don't have sqlconnection i don't know why

  • @ONLINE___TECH__1
    @ONLINE___TECH__1 Рік тому

    Thanks sir very nice video
    Sir g woo database application konssa theek rahi gga jho connect kiya hai aap ni....

  • @user-or7ge8vx4m
    @user-or7ge8vx4m 7 місяців тому

    cool video)

  • @stevenvalenzuela2097
    @stevenvalenzuela2097 2 роки тому +2

    please help i followed every code but it is not working for me and the catch error always shows :(

    • @vaibhavgulve9334
      @vaibhavgulve9334 Рік тому

      1.may u forgot to add SQL package
      2.check ur SQL query
      3.check ur credentials in SQL while creating table
      4.may be wrong with try catch condition
      Hope it will help

  • @myway9019
    @myway9019 Рік тому

    Thanks a lot It works !!!!

    • @reidafesta9131
      @reidafesta9131 Рік тому

      Just don't use this in a real login scenario because it will compromise your database

  • @longbui5717
    @longbui5717 Рік тому

    thank you so much!

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

    how to fix this System.ArgumentException: 'Keyword not supported: 'trust server certificate'.'

  • @TechshashiKumar-wu1eh
    @TechshashiKumar-wu1eh 2 місяці тому

    Bhai kuch sikhana hai to train ticket reservation software banana sikhao

  • @lawrenzacuna2828
    @lawrenzacuna2828 2 роки тому +2

    Can I have the link where I can download SQL server management studio?

  • @user-uw8uh6pw6t
    @user-uw8uh6pw6t 4 місяці тому

    Tq so much 🎉

  • @elviskam3993
    @elviskam3993 Рік тому

    Thanks a lot

  • @robaskhan6774
    @robaskhan6774 8 місяців тому

    please make an project on travel agency through window form C#

  • @zj8789
    @zj8789 Рік тому +1

    i followed it but instead of going to the nxt form, it keeps replying with ERROR as if i entered the wrong data, idk where i went wrong

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

    How to create a login page:
    ua-cam.com/video/DhS6Pe1sc_M/v-deo.html

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

    Thank you.

  • @alinamihaela9743
    @alinamihaela9743 Рік тому

    I have an error, when i write sqldataadapter sda=new sqldataadapter(querry, con), con is an error and Say that con is not null here, what i am Doina wrong, i try anything and i dont know what is wrong, pls help me 😢

  • @zaraako378
    @zaraako378 2 роки тому +1

    Can u do multiuser like seperate dashboard of admin and user?

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

    thank you, good :)

  • @TehniatSaleem
    @TehniatSaleem 11 місяців тому

    there is error in codding txt_username.Text. txt_password.Text it show error message that it does not in current context ..what i do .

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

    Thanks ❤

  • @learnwithahsan6017
    @learnwithahsan6017 Рік тому

    Thanks

  • @christinekaythpondividaram2600

    Visual studios?? how it will connect to the sql database???

  • @kavitasharma-yr2gc
    @kavitasharma-yr2gc Рік тому

    Even if i use console app then also sql connection not showing .

  • @hatsu1101
    @hatsu1101 2 роки тому +1

    How to prevent from sql injection using that code?

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

      I know I'm late but, you gotta use storedProcedure in database and call that into the visual code

  • @kelloggs_lee
    @kelloggs_lee 10 місяців тому

    Just thnx

  • @enkhjin4319
    @enkhjin4319 Рік тому

    how to add object explorer and sql database how did you do that

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

    "SqlConnection" how i can connect with azure database? Please help

  • @sakshi_ssurve6181
    @sakshi_ssurve6181 Рік тому +2

    I code exactly the same as shown in video but my try block getting ignored and the catch block is getting executed even I entered the right password and username.. Can anyone tell me why this is happened??

    • @vaibhavgulve9334
      @vaibhavgulve9334 Рік тому

      This can't be you must have did wrong try catch bcoz it working but ignoring try so something wrong with maybe with SQL query u must check query

  • @Qursta
    @Qursta Рік тому

    THXX

  • @S1ggyy
    @S1ggyy 8 місяців тому

    System.Data.SqlClient.SqlException: 'Invalid object name 'tbl_login'.' Keep getting this error

    • @S1ggyy
      @S1ggyy 8 місяців тому

      I dont understand why as my table is called tbl_login

  • @CreditsKid
    @CreditsKid Рік тому

    im having errors with txtusername please help

  • @soo4203
    @soo4203 2 роки тому +1

    hello this is a ver great tuto video it is helpful but i seem to face a slight problem in the 1st section in connecting the server to VS my server doesnt show in that server name area !!!!
    could u help me ?

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

      Try connecting with "(local)\SQLEXPRESS", put it in the server name.

  • @progaming3662
    @progaming3662 Рік тому

    is there someone know how can i add case sensitive in login form?

  • @xigbar02
    @xigbar02 Рік тому

    what is DataTable in here?

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

    Sorry to say sir but after giving username and password they are showing error what can i do ?

    • @sadikulmobasshir2762
      @sadikulmobasshir2762 Рік тому

      Same problem

    • @vaibhavgulve9334
      @vaibhavgulve9334 Рік тому

      1.may u forgot to add SQL package
      2.check ur SQL query
      3.check ur credentials in SQL while creating table
      4.may be wrong with try catch condition
      Hope it will help

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

    I love you

  • @taiseer8882
    @taiseer8882 Рік тому

    ty

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

    Need total code as text...plz add it to the comments ..we can copy

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

    What if txt doest not exist in the context what should i do??

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

      I didn't get you, explain further

    • @johncoolboy
      @johncoolboy Рік тому

      @@switclog5629 Think what he means is your shit is outdated and if it isnt, it lacks proper context on stuff like txt. Either update your video or add context.
      17 Errors, 2 hours of working all wasted.

  • @EmonAhmed-ub5fw
    @EmonAhmed-ub5fw 2 роки тому

    can you provide me the Nuget package link..?

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

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

    Bad code you open the possibility for SQL injection

  • @Nomsluier
    @Nomsluier Рік тому +1

    it doesn't work

  • @SI_finance_academy
    @SI_finance_academy Рік тому

    Bro ye SQL. Server kha le liye

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

    🌹

  • @minhnguyenhainhat234
    @minhnguyenhainhat234 Рік тому

    do you have source code of it

  • @m3c4nyku43
    @m3c4nyku43 Рік тому +2

    I checked the date this was published to make sure it wasn't 2008 anymore when I saw the Notepad voiceless tutorial. Just use an AI voice if you don't use yours.

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

    why do the usings not show for me at 5:15 i dont have those?

    • @3dsbros64
      @3dsbros64 Рік тому

      you forgot the references or nuget packages - 3dsbros64#0001

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

    i am handsome

  • @broinbray9327
    @broinbray9327 Рік тому

    Name back sound

  • @Mano.Plays.
    @Mano.Plays. 2 роки тому

    What is menuform there

    • @switclog5629
      @switclog5629  2 роки тому +1

      It is just the name set for the next form (which is needed to appear after login correctly)

    • @Mano.Plays.
      @Mano.Plays. 2 роки тому

      @@switclog5629 thank you