How to Create Login Screen in Wpf with Sql DataBase

Sdílet
Vložit
  • čas přidán 3. 05. 2017
  • How to Create a Login Screen in Wpf with SQL database.
    The tutorial shows how you can create a login window or screen using XAML in WPF.after that user is validated with a given username and password with the SQL server database.
    📂 GitHub Repository
    ► goo.gl/VtsWqe
    💖 Buy me a Coffee
    ➤ bit.ly/3L36ut4 (PayPal)
    ➤ bit.ly/3VF0iPT (Razorpay)
    🌀 Related Videos
    goo.gl/ySUFf8 : Similar Mvc Tutorials
    goo.gl/3ajHuA : Similar C# Video Tutorials
    🔗 Find me in
    Udemy : bit.ly/3RtyQSB
    Facebook : / codaffection
    GitHub : github.com/codaffection
    Discord : / discord
    Twitter : / codaffection
    #Wpf #CodAffection

Komentáře • 91

  • @CodAffection
    @CodAffection  Před 7 lety +3

    goo.gl/RFY5C2 : Subscribe to CodAffection
    goo.gl/NhNQeZ : Export Excel in C# Applications
    goo.gl/gcnjih : Complete Mvc Tutorial For Beginners
    goo.gl/pCjmrT : Complete Crystal Report Tutorial

  • @Kalmanheyn
    @Kalmanheyn Před 7 lety +3

    Great tutorial for a simple but comprehensive program. Thanks!

  • @alexanthony5642
    @alexanthony5642 Před 5 lety +2

    Very easy to follow tutorial, thanks! Just had to change my SQL Server source, but that was self explanatory.

    • @CodAffection
      @CodAffection  Před 5 lety

      you are welcome. if you want to change the DB server to MySql, try this WinForm tutorial : czcams.com/video/v283Kb80RjE/video.html

  • @Shubhaiss
    @Shubhaiss Před 4 lety

    Excellent, followed along and the application demo works perfectly. Thank you

  • @lg3409
    @lg3409 Před 5 lety

    Good video, I am beginner, and I am learning alot from this video. Thanks.

  • @kdtechniquesofficial6153
    @kdtechniquesofficial6153 Před 6 lety +2

    I love this Video and really helpful

  • @TheDeckerFamily
    @TheDeckerFamily Před 2 lety

    Thanks just what I was looking for.

  • @altair91100
    @altair91100 Před 2 lety

    Thank you very much. It helped me a lot!

  • @mohamadalibrahim2995
    @mohamadalibrahim2995 Před 6 lety +1

    Great tutorial for a simple but comprehensive program. Thanks

  • @tanujgyan787
    @tanujgyan787 Před 5 lety +1

    Thank you for this!

  • @mohamadalibrahim2995
    @mohamadalibrahim2995 Před 6 lety

    Good job Bro. Thanks a lot !

  • @ananddeshmukh110
    @ananddeshmukh110 Před 4 lety +2

    Much Much Thanks....Dude!

  • @noziphosithebe5257
    @noziphosithebe5257 Před rokem

    Thank you so so much. You have no idea how I've been struggling with this code (a different variation though), Thank you a million times over

  • @sooryaprakash8984
    @sooryaprakash8984 Před 4 lety

    Hi man where were you ?
    First I thought its going to bore...
    But very precise and to the point.
    Great and thank you so much dear...

    • @CodAffection
      @CodAffection  Před 4 lety

      thanks for the comment.
      I will try to improve my language.
      thanks for praising the good part.

  • @AK-Star007
    @AK-Star007 Před 4 lety +1

    simple, to the point. thanx

  • @alonelyproducer663
    @alonelyproducer663 Před 4 lety +5

    thank you sou much, finally its worked that i can connect to my Sql DB. Sub & Like

  • @minhthangly2706
    @minhthangly2706 Před 5 lety +1

    thank you so much very helpful ~!

  • @mactavish-yt4131
    @mactavish-yt4131 Před 2 lety +3

    Where did you get Data source path from? I have problem with Sqlconnection

  • @mohamadalibrahim2995
    @mohamadalibrahim2995 Před 6 lety +1

    keep makeing tutorials about wpf

  • @mohamadalibrahim2995
    @mohamadalibrahim2995 Před 6 lety +4

    please make more tutorials about Wpf

  • @mohammedammaar536
    @mohammedammaar536 Před 2 lety

    Thanks!

  • @fatimaezzahrajassour1148

    thank u for this video u help me and u save my life

  • @sawaplurima2860
    @sawaplurima2860 Před 4 lety +22

    Уши болят от индийского английского😃

    • @GiSmOSYS
      @GiSmOSYS Před 3 lety

      ооооо даааа , для меня это теперь новая форма мазохизма от которой я почему то кайфую....

  • @yousefbaghlaf6713
    @yousefbaghlaf6713 Před 2 lety

    thank you!

  • @ticmsscitech2643
    @ticmsscitech2643 Před 4 lety +1

    tnxs my friend

  • @nurkenshamgun3181
    @nurkenshamgun3181 Před 6 lety

    Thank u bro)

  • @Roman-uy7qp
    @Roman-uy7qp Před 2 lety +2

    Thought I was getting a scam call at first

  • @tess...
    @tess... Před 2 lety

    Thank you

  • @salalhamza3475
    @salalhamza3475 Před 6 lety

    Sir i m also try this login form as it is but button isn,'t adjust properly as like you!!!! Rply about that

  • @unkownman5063
    @unkownman5063 Před 6 lety

    if i want at click button to go to another web page at the same project

  • @Orion795
    @Orion795 Před 4 lety +1

    Thanks! :)

    • @CodAffection
      @CodAffection  Před 4 lety

      Glad it helped. Let me know if you have any future suggestion.

  • @yogeshbhatt5850
    @yogeshbhatt5850 Před 3 lety

    Have you made the following video to edit that main window? please need help.

  • @Ashu-kz1jp
    @Ashu-kz1jp Před 5 lety +1

    sir plz make more videos for WPF

  • @m_akhil
    @m_akhil Před 2 lety

    How to check user inputted values with database table values (example Username and Password). If both are wrong it must show wrong username and password, instead of screen being idle

  • @danieldeluca4737
    @danieldeluca4737 Před 4 lety

    I need record the username to next form!
    It's a good ideia pass the username on MainWindown?

  • @justinnamuco9096
    @justinnamuco9096 Před 2 lety +2

    8:51 SQL
    10:42 SQL Connection

  • @theone5981
    @theone5981 Před 4 lety +1

    how about creating a profile with picture?

  • @soundofmusic94
    @soundofmusic94 Před 4 lety

    Hi sir, Have you made a CRUD WPF application? Can you assist me in a little app that Im doing plz?

  • @ofentsemogafe8624
    @ofentsemogafe8624 Před 8 měsíci

    Where do I get my connection string?

  • @filipkaczmarek5697
    @filipkaczmarek5697 Před rokem

    omfg the video was loading really long and when it funally loaded and i heared this voice with this accent and this volume(very high)- I almost died due to heart attack

  • @e-maleescort6335
    @e-maleescort6335 Před 3 lety +1

    When You added the parameteres (txtUsername and txtPassword) where were they declared previously cuz im getting an error here

  • @niphomahlangu2733
    @niphomahlangu2733 Před 2 lety

    This was very helpful. Thank you very much and god bless you. 🙏🙏

  • @noziphosithebe1373
    @noziphosithebe1373 Před rokem +1

    please show how you would hash the password with this given code

  • @vimaljoseph4924
    @vimaljoseph4924 Před 3 lety

    Malyali aano ? Nice explanation.

  • @vice8811
    @vice8811 Před 2 lety

    Where do you get the connection string ?

    • @CodAffection
      @CodAffection  Před 2 lety

      One of my old video, will help you to understand the same.
      czcams.com/video/WJ-CdeTGxp8/video.html

  • @jojoduke1702
    @jojoduke1702 Před 5 lety

    I watched your video on how to make a registration form. I want to know to connect the registration and login databases?

  • @ZOUZOU5979
    @ZOUZOU5979 Před 4 lety

    je t'aime

  • @kwongparry5914
    @kwongparry5914 Před 6 lety

    i have trouble doing the sql connection string. What does localhost\sqle2015 mean? I have tried with the following connection string @"Data Source=(local); Initial Catalog = Login_db; Integrated Security = True;" but it returns cannot open database Login_db. Any help plz??

    • @CodAffection
      @CodAffection  Před 6 lety

      instead of 'Data Source=(local)'
      try 'Data Source=(local)\sql_server_instance_name'

    • @kwongparry5914
      @kwongparry5914 Před 6 lety

      yes and i solved it using the attributedfile with |datavariable|\mdffilename as well. thank you!

    • @didemt.7930
      @didemt.7930 Před 4 lety

      also u can use 'Data Source=.'

  • @sarveshm6779
    @sarveshm6779 Před 6 lety

    hello, where to get blend full version in visual studio? I am new to wPF, pls reply

    • @cartoonist6012
      @cartoonist6012 Před 6 lety

      It usually installs when u install VS. U should check MS website.

    • @sarveshm6779
      @sarveshm6779 Před 6 lety

      Im talking about pirated VS, from torrnts

    • @cartoonist6012
      @cartoonist6012 Před 6 lety

      Oooooh. Try here.......www.microsoft.com/en-us/download/details.aspx?id=10801

    • @sarveshm6779
      @sarveshm6779 Před 6 lety

      ok thnks

  • @mbidcvz
    @mbidcvz Před 5 lety

    Us this local? Or is this online?

  • @riadadel
    @riadadel Před 6 lety

    Plz how we find the connection line @data............

    • @CodAffection
      @CodAffection  Před 6 lety

      it's there in btnSubmit_Click function.

    • @riadadel
      @riadadel Před 6 lety

      It dosen't work for me can you help me ?

    • @CodAffection
      @CodAffection  Před 6 lety

      Ok, Is there any error message ?

    • @riadadel
      @riadadel Před 6 lety +2

      All the time even when i put the right password and user name the messsage is the user name or password is incorrect

    • @heysuckers1234
      @heysuckers1234 Před 5 lety

      @@riadadel same with me, did you find a solution?

  • @deseder4964
    @deseder4964 Před 4 lety

    не слова по русски

  • @LIGHTBLESSINGFOREVER
    @LIGHTBLESSINGFOREVER Před 4 lety

    JESUS LOVES YOU!! People like you are gifts from God. I hope you're saved. And thank you for these videos
    GOD BLESS YOU!! JESUS LOVES YOU!!

  • @zetheul560
    @zetheul560 Před 6 lety +2

    oh my god your accent is make the tutorial become hard to learn.

  • @msani2
    @msani2 Před 6 lety

    Good job Bro. Thanks a lot !