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

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2021
  • 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.

ความคิดเห็น • 139

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

  • @TheSandDog
    @TheSandDog ปีที่แล้ว +9

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

    • @Astroshychannel
      @Astroshychannel 5 หลายเดือนก่อน

      me too... 😅

    • @resh7521
      @resh7521 4 หลายเดือนก่อน

      in NIBM? lol

  • @kavindipindeniya
    @kavindipindeniya 6 หลายเดือนก่อน

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

  • @MrArkaneMage
    @MrArkaneMage 3 หลายเดือนก่อน

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

  • @vishnumaya1930
    @vishnumaya1930 ปีที่แล้ว

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

  • @joshuaanana8673
    @joshuaanana8673 8 หลายเดือนก่อน

    thankz you save me alot of time
    finding this login

  • @massimochiapelli3366
    @massimochiapelli3366 ปีที่แล้ว

    Great work!!!Thanks a lot!!!

  • @lyricszone05
    @lyricszone05 2 ปีที่แล้ว +1

    It’s so useful me thank you soooo much

  • @mtmanar6200
    @mtmanar6200 2 ปีที่แล้ว

    that really helped me a lot thank you so so much

  • @otyven1475
    @otyven1475 2 ปีที่แล้ว

    Thanks a looot! You are best!

  • @h5i3
    @h5i3 2 ปีที่แล้ว

    thank's brother u came at the right time

  • @nixor1987
    @nixor1987 2 ปีที่แล้ว +13

    Finally a tutorial with dark mode

    • @eyeofthetiger8287
      @eyeofthetiger8287 3 หลายเดือนก่อน

      yes, but this disturbing music on a tutorial ??

  • @patox300
    @patox300 ปีที่แล้ว

    thanks a lot bro, youre awesome

  • @sahirunishshanka5338
    @sahirunishshanka5338 ปีที่แล้ว

    great content😃❤

  • @bunnygirl1881
    @bunnygirl1881 2 ปีที่แล้ว

    Thank u so much it really helped me

  • @isharalakshitha7759
    @isharalakshitha7759 ปีที่แล้ว

    Good . Very helpful

  • @benamarabouchra6368
    @benamarabouchra6368 2 ปีที่แล้ว

    Thanks, this really helped.

  • @sparkvijay0719
    @sparkvijay0719 2 หลายเดือนก่อน +1

    You Saved My Day 🙌

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

  • @tracker_x1
    @tracker_x1 5 หลายเดือนก่อน

    you are the best of the best

  • @mohommedimtiyas8038
    @mohommedimtiyas8038 2 ปีที่แล้ว

    Thanks for the vedio..

  • @muhammadasad-hj7un
    @muhammadasad-hj7un 4 หลายเดือนก่อน

    Very Good Explanation

  • @user-qo3cv1mt3y
    @user-qo3cv1mt3y ปีที่แล้ว

    Thank you very much!

  • @thecodeiackiller
    @thecodeiackiller 8 หลายเดือนก่อน

    Great video

  • @longbui5717
    @longbui5717 ปีที่แล้ว

    thank you so much!

  • @xuannghi4700
    @xuannghi4700 ปีที่แล้ว

    Thank you for your video

  • @user-jn6ib7go9r
    @user-jn6ib7go9r 7 หลายเดือนก่อน

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

  • @TheUIXLab1111
    @TheUIXLab1111 5 หลายเดือนก่อน +1

    Thank You sooooooooooo much sir.

  • @vinhngo5546
    @vinhngo5546 4 หลายเดือนก่อน

    thank you very much.!!!

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

  • @xiaoxiaoh1386
    @xiaoxiaoh1386 2 ปีที่แล้ว

    thank you, good :)

  • @user-or7ge8vx4m
    @user-or7ge8vx4m 7 หลายเดือนก่อน

    cool video)

  • @BalkansConsultancy
    @BalkansConsultancy 8 หลายเดือนก่อน

    good job thankyou...

  • @abdulmejidcaffaa3067
    @abdulmejidcaffaa3067 2 ปีที่แล้ว

    Wow exllent

  • @mbktejaswi5801
    @mbktejaswi5801 6 หลายเดือนก่อน

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

  • @Siva-wy8cz
    @Siva-wy8cz ปีที่แล้ว

    Thank you very much

  • @validajohnclarence8996
    @validajohnclarence8996 ปีที่แล้ว

    I like the song it can make me inspired

  • @lawrenzacuna2828
    @lawrenzacuna2828 2 ปีที่แล้ว +2

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

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

  • @zaraako378
    @zaraako378 2 ปีที่แล้ว +1

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

  • @KeffelewAssefa
    @KeffelewAssefa ปีที่แล้ว

    Thank you.

  • @elviskam3993
    @elviskam3993 ปีที่แล้ว

    Thanks a lot

  • @WILFREDDALIGDIG
    @WILFREDDALIGDIG 3 หลายเดือนก่อน

    you just save my grade😂😂❤❤

  • @mohabessam6555
    @mohabessam6555 2 ปีที่แล้ว

    Thanks ❤

  • @umaralhassanimoro8008
    @umaralhassanimoro8008 ปีที่แล้ว

    very nice

  • @maryj.turley1118
    @maryj.turley1118 10 หลายเดือนก่อน

    good video

  • @raneeshayt
    @raneeshayt หลายเดือนก่อน

    Thank you so much 🤍😊

  • @ZhilanMohammed-wv8xy
    @ZhilanMohammed-wv8xy 6 หลายเดือนก่อน +4

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

  • @hlflifeenjoyer6176
    @hlflifeenjoyer6176 ปีที่แล้ว

    amazing

  • @user-uw8uh6pw6t
    @user-uw8uh6pw6t 4 หลายเดือนก่อน

    Tq so much 🎉

  • @mohinibodake0217
    @mohinibodake0217 2 หลายเดือนก่อน

    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

  • @ktr18pattama34
    @ktr18pattama34 2 ปีที่แล้ว

  • @metju2125
    @metju2125 2 ปีที่แล้ว

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

  • @enkhjin4319
    @enkhjin4319 ปีที่แล้ว

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

  • @womercabrestante7938
    @womercabrestante7938 2 ปีที่แล้ว

    I love you

  • @christinekaythpondividaram2600
    @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 .

  • @progaming3662
    @progaming3662 ปีที่แล้ว

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

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

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

  • @TehniatSaleem
    @TehniatSaleem 10 หลายเดือนก่อน

    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 .

  • @avaanthikaaavaanthikaa3969
    @avaanthikaaavaanthikaa3969 4 หลายเดือนก่อน +1

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

  • @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 😢

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

    • @udaraMahalpage
      @udaraMahalpage ปีที่แล้ว

      Same do you know how to correct it

  • @learnwithahsan6017
    @learnwithahsan6017 11 หลายเดือนก่อน

    Thanks

  • @Qursta
    @Qursta ปีที่แล้ว

    THXX

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

  • @xigbar02
    @xigbar02 ปีที่แล้ว

    what is DataTable in here?

  • @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).

  • @woodpeker3701
    @woodpeker3701 2 หลายเดือนก่อน

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

  • @robaskhan6774
    @robaskhan6774 7 หลายเดือนก่อน

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

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

  • @EmonAhmed-ub5fw
    @EmonAhmed-ub5fw 2 ปีที่แล้ว

    can you provide me the Nuget package link..?

  • @kelloggs_lee
    @kelloggs_lee 9 หลายเดือนก่อน

    Just thnx

  • @thedinialoka1988
    @thedinialoka1988 2 ปีที่แล้ว

    🌹

  • @CreditsKid
    @CreditsKid ปีที่แล้ว

    im having errors with txtusername please help

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

    • @zj8789
      @zj8789 ปีที่แล้ว +1

      ERROR was the reply i put in the message box

    • @ashleyrodriguez7820
      @ashleyrodriguez7820 ปีที่แล้ว

      @@zj8789 same

  • @NDBR
    @NDBR ปีที่แล้ว

    Helped me:D

  • @taiseer8882
    @taiseer8882 11 หลายเดือนก่อน

    ty

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

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

  • @minhnguyenhainhat234
    @minhnguyenhainhat234 ปีที่แล้ว

    do you have source code of it

  • @micahspecial5927
    @micahspecial5927 ปีที่แล้ว +3

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

    • @younis972
      @younis972 5 หลายเดือนก่อน

      discord is youniss if you still need help

    • @revialle5434
      @revialle5434 3 หลายเดือนก่อน

      th-cam.com/video/x_-osmAI_bQ/w-d-xo.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.

  • @sivaganesh317
    @sivaganesh317 ปีที่แล้ว

    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.

  • @wilmararias2083
    @wilmararias2083 2 ปีที่แล้ว

    Bad code you open the possibility for SQL injection

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

  • @TechshashiKumar-wu1eh
    @TechshashiKumar-wu1eh หลายเดือนก่อน

    Bhai kuch sikhana hai to train ticket reservation software banana sikhao

  • @S1ggyy
    @S1ggyy 7 หลายเดือนก่อน

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

    • @S1ggyy
      @S1ggyy 7 หลายเดือนก่อน

      I dont understand why as my table is called tbl_login

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

  • @Nomsluier
    @Nomsluier ปีที่แล้ว +1

    it doesn't work

  • @wolfvadar3967
    @wolfvadar3967 2 ปีที่แล้ว

    anyone know why conn shows as an error

    • @switclog5629
      @switclog5629  2 ปีที่แล้ว

      Please follow every step in the video carefully.

    • @authentic_ametin
      @authentic_ametin 2 ปีที่แล้ว

      u need to install nuget package installer then from there install System.Data.SqlClient

  • @Travel_ki_Duniya
    @Travel_ki_Duniya ปีที่แล้ว

    Bro ye SQL. Server kha le liye

  • @broinbray9327
    @broinbray9327 ปีที่แล้ว

    Name back sound

  • @woodpenguin954
    @woodpenguin954 ปีที่แล้ว

    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

  • @TechTutorHub2106
    @TechTutorHub2106 2 ปีที่แล้ว

    How to create a login page:
    th-cam.com/video/DhS6Pe1sc_M/w-d-xo.html

  • @kianvillaluz3677
    @kianvillaluz3677 3 หลายเดือนก่อน

    i am handsome

  • @Ragadal-gw9ic
    @Ragadal-gw9ic 10 หลายเดือนก่อน

    Walang silbe