Create Login Window With User Authentication in C# step by step

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • This video teaches how to create login window in c#, You will learn about user authentication, a Login form will check if user while admin or client after every form act as admin or client mode.. it will very useful for the beginner to learn c sharp in step by step

Komentáře • 183

  • @DrMichaelMoroney
    @DrMichaelMoroney Před 7 lety

    Clear explanation and good quality video, thank you very much. Especially useful tips along the way that explain how to align controls, set colors and so on.

  • @qualityreno9689
    @qualityreno9689 Před 7 lety +2

    I can't thank you enough. very helpful !

  • @SaidHammani2105
    @SaidHammani2105 Před 8 lety

    Hello my frind , U r good , i was looking for the way i can give access or no to users and i found it nice and keep going u deserve RESPECT !!!!

  • @ayedan575
    @ayedan575 Před 9 lety +1

    Thanks, great tutorials. :)

  • @rjc131
    @rjc131 Před 7 lety

    This is a very good video. Thank you very much!

  • @levanimelikishvili5912
    @levanimelikishvili5912 Před 8 lety +1

    Vetrivel D Thank you very much :)

  • @peterlind1966
    @peterlind1966 Před 8 lety

    Great instruction video, thanks a lot ! :)

  • @FarazAhmedRizwan
    @FarazAhmedRizwan Před 7 lety

    Very good work keep it up. Thank you for this amazing tutorial...

  • @mealcode
    @mealcode Před 7 lety

    Hi Vetrivel D, thank you for this. You are awesome. One thing I'd like to request, if you can also make a separate video for user Authentication but instead of hard coding the conditions for admin (like disabling some buttons) there will be a settings for user authentication like a check box (if check) to disable some buttons or menus. thanks

  • @a.torabian6544
    @a.torabian6544 Před 6 lety

    thank you Mr. Vetrivel D

  • @landvcn
    @landvcn Před 7 lety

    Thank you for the video.

  • @AmberZedHD
    @AmberZedHD Před 6 lety

    Brilliant tutorial my friend 10/10

  • @rajjj68
    @rajjj68 Před 7 lety

    Thanks Very Nice and clear

  • @ClintonVincen
    @ClintonVincen Před 6 lety

    Hi Vetrivel,
    This is a brilliant tutorial for beginners, thank you.
    I was also wondering if you could make another tutorial making another one for Windows Authentication using API's

  • @jeremiahsherrill
    @jeremiahsherrill Před 7 lety

    Great tutorial Vetrivel

  • @mayamonde8353
    @mayamonde8353 Před 8 lety

    thanks for your videos i will subscribe ,

  • @wahibomer1176
    @wahibomer1176 Před 3 lety

    Thank you so much brother

  • @jonasbejuco231
    @jonasbejuco231 Před 7 lety

    Thanks man!

  • @tploko
    @tploko Před 6 lety

    good video thanks

  • @nakata417
    @nakata417 Před 8 lety +4

    " using System.Data; " why I use it twice. already it wrote above. ?

  • @VivianaVillanuevaPicolini

    thank you pal!

  • @muhammadilyasmaz7242
    @muhammadilyasmaz7242 Před 3 lety

    Thanks Sir!

  • @zerosandones7547
    @zerosandones7547 Před 4 lety

    Thank you so much for this video

  • @amitgawade4184
    @amitgawade4184 Před 9 lety

    very helpful

  • @elcaricaturista92
    @elcaricaturista92 Před 7 lety

    Thank you c:

  • @ThinkAndGrowAfrica
    @ThinkAndGrowAfrica Před 4 lety

    Thank you very much bro, you helped solve my headache. Please, how will I store the logged in user with my table.

  • @kageemo
    @kageemo Před 7 lety

    hi is there any way i can make it case sensitive ? i type in both upper and lower is able to log in

  • @jasondeleon7534
    @jasondeleon7534 Před 7 lety

    +Vetrivel D Please Help me, Whenever I run the program this error happens:
    An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
    Additional information: Cannot open database "Record" requested by the login. The login failed.

  • @dyoutube5365
    @dyoutube5365 Před 5 lety

    Very Good

  • @atilrenu6363
    @atilrenu6363 Před 7 lety

    thank you

  • @LAWBABY
    @LAWBABY Před 5 lety

    Thanks.

  • @nicolasolivos108
    @nicolasolivos108 Před 6 lety

    Super Programming (y)

  • @Asadfoursix
    @Asadfoursix Před 7 lety +1

    Hello,
    Do you provide any classes one 2 one ? if yes, please let me know how that works ?
    Thank you

  • @akkirajulavanya8926
    @akkirajulavanya8926 Před 7 lety

    Hello Mr.vetrivel D your windows form c# vedios are very useful for us, can you please show how to show saved data as pdf format and how give print in windows forms data. i will googled everywhere but i m nt understanding properly please can you post that viedo for us.....thanking you.

  • @yahayamusakayode9549
    @yahayamusakayode9549 Před 7 lety +1

    Good work..... I think the Biodata form was not created in this video

  • @MrCupid-dz3hl
    @MrCupid-dz3hl Před 7 lety +2

    Hi Mr Vetrivel D. Can you tell me how did you do the last part. In my visual studio 2013 express the code has an error. The code that i am talking about is label6.Text = ((form)this.MdiParent).Controls["label1"].Text; or can someone please tell me how did he do it? Please reply asap i need it in my project. Thanks in advance.

    • @MrCupid-dz3hl
      @MrCupid-dz3hl Před 7 lety

      Could you please upload the project if it is still in you? Thanks.

    • @suprayogip
      @suprayogip Před 7 lety

      Mr. Cupid same problems as you 😅

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

    Its so fun to look at these videos from people making tutorials that don't know how to properly do it. Do NOT do it this way in a production app, it has a SQL injection vulnerability and so many security flaws.

    • @playtoearnmeta
      @playtoearnmeta Před 5 lety

      do you happen to know a place where i can find these types of tutorials on c# windows app development by people who actually know what they're doing?

  • @achaouki
    @achaouki Před 8 lety

    tinke u mr for this video

    • @VetrivelD
      @VetrivelD  Před 8 lety

      +a chaouki (Chiko007) Thanks for your Feedback. Please Ask any Doubts i will make video for that..!

  • @ArmourTechnology
    @ArmourTechnology Před 7 lety

    please tell me how to add some text in login or enter window.that when a user login or press enter .then a text that developer added show to that person.

  • @abdiazizhussein1375
    @abdiazizhussein1375 Před 7 lety

    thanks

  • @budooralmannai6672
    @budooralmannai6672 Před 8 lety

    if my password was an id card gettin from RC255 conncted too an arduiono and C#, how can i conncet the UID with the database

  • @emmysmith8960
    @emmysmith8960 Před 5 lety

    hi , i love ur video, guide, pls how can i how to create log-in and log-out history in c # than k u

  • @ashergonzales7844
    @ashergonzales7844 Před 4 lety

    Boom! you just save me from my software defense

  • @silverdiamend
    @silverdiamend Před 8 lety

    Is this for a website to . I have already a website and i will get a login panel on it with a shop. I dont know how i need to do that can you help me.

  • @namhoangle5599
    @namhoangle5599 Před 8 lety +5

    what is the meaning of dt.Rows[0][0]. I do not understand why [0][0]. please expalin, thank you

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

      You already fill a datatable and there you have rows in x and y position [x][y], so your admin row after the search will be the [0][0] position, that's why you neet to get te string in dt.Rows[0][0] position

    • @navaneeth6157
      @navaneeth6157 Před 6 lety

      what?

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

      means I want you to show the first row of the data table ; or the first Object from the table

  • @DarkstarReborn
    @DarkstarReborn Před 6 lety

    Can you do this again for a C# asp.net web server website? Plus how to get the connection string to work remotely?

  • @total3erp676
    @total3erp676 Před 7 lety

    main class is not working in VS2015, why?
    please advice to activate.

  • @user-gz2po7dx3k
    @user-gz2po7dx3k Před 7 lety +3

    it muste be "you logged in" as admin.

  • @rosalinaromano182
    @rosalinaromano182 Před 8 lety

    bro can you show me a link on your tutorial on how to setup from the beginning im just a beginner hope you can help me ty

  • @gopabandhusciencecollege5773

    What will be the datas in biodata table as it showing error?

  • @ElectricPride
    @ElectricPride Před 8 lety +3

    +Vetrivel D bro can you show me the link to where can i find your video on you making a database tutorial ? seems i cant find it in your channel :3 pls help me need answers asap thanks

    • @VetrivelD
      @VetrivelD  Před 8 lety +1

      +crib factor czcams.com/users/Nemboolisoftvideos

  • @naginiadepu229
    @naginiadepu229 Před 5 lety

    I need a video in which normal user and admin user are in same table in sql, now using session based on the user name login as admin and display all all records belongs to user table
    can i get it soon

  • @richardtao4834
    @richardtao4834 Před 8 lety

    good day sir..can u help me on making a login system that can login as
    an Admin and redirect it to (form Admin) and as a client going to (form
    Client) help me plss im using mysql database thanks

  • @RB-pp9cx
    @RB-pp9cx Před 8 lety

    i am not able to get to the login part on the server explorer! please help asap

  • @SaidHammani2105
    @SaidHammani2105 Před 8 lety

    hello friend nice videos is it possible to tell me how to personalize the menu the that simple users won't have some part that only administrators have
    thanks a lot

  • @saliht7780
    @saliht7780 Před 8 lety

    Hellow sir how to set privilage on my windows forms and i need next part of pos step by step tutorial

  • @emjay741
    @emjay741 Před 6 lety

    please, can you make a video on how to create a fingerprint attendance register using c#?

  • @rifathapps
    @rifathapps Před 8 lety

    thanks.. but your showing only 2 forms .. when i include more form i m getting errors.. plz give me a more advantage videos . it z big useful to study as well..

  • @-notakira
    @-notakira Před 7 lety

    you can make this tutorial fast if you use select query and has.rows and reader to identify is the person who tried to login is an admin or client and use button.enable true or false ..

  • @StrayBulletzz
    @StrayBulletzz Před 6 lety

    can you share the source? Im trying to follow along but using VS 2017

  • @MuhammadZubair-uf5br
    @MuhammadZubair-uf5br Před 7 lety +1

    i want to make library management system so how to make login form with user authentication only through classes no code behind button please help

    • @mielam
      @mielam Před 7 lety

      Muhammad zubair im also making that system. did you solved it already??

    • @MuhammadZubair-uf5br
      @MuhammadZubair-uf5br Před 7 lety

      Yes but not through database actually

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

    No input sanitization, not using authentication servers, you're asking for a world of hurt if this was ever deployed.

  • @rmshafeek
    @rmshafeek Před 9 lety

    dear Bro I am your fan I have one question I feel you can clear it , how to c# create setup project ?

  • @miankks6302
    @miankks6302 Před 7 lety

    Which button you press to create a name for table?

  • @Grace-dm4zn
    @Grace-dm4zn Před 8 lety +3

    i got an error on runtime in sda.Fill(dt); help please

    • @arvinandrewnogar3685
      @arvinandrewnogar3685 Před 8 lety +2

      How was it? any solution?

    • @phantommods3440
      @phantommods3440 Před 7 lety

      Same, wtf? Did you figure it out?

    • @rafatmuizmahmud2698
      @rafatmuizmahmud2698 Před 7 lety

      I used braces[table] and the error is gone but still it doesn't log in, it is showing only--"Please check your username and password". plz help

    • @vijaykumar16391
      @vijaykumar16391 Před 7 lety

      Check the SQL connection line in the program. Especially the database (.mdf) file location. If you are copying from the connection string, then remove the space after C: in file location C: \Users\

    • @chamsmarketing5662
      @chamsmarketing5662 Před 6 lety

      Same error with my application help please

  • @shibalstv7321
    @shibalstv7321 Před 3 lety

    do you have a clear codes for that hoping po cause I that your a example in our system on our school

  • @Emmanuelkabs
    @Emmanuelkabs Před 7 lety +1

    when did you create the biodata form? omg it is so confusing! earlier Biodata has been used as a class and the window were coming out outta nowhere with all functions and buttons. Implementation should be done in a sequential order not that way

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

    what is the meaning of dt.Rows[0][0]. I do not understand why [0][0]. please expalin, thankzzz....
    REPLY

  • @iamluann_
    @iamluann_ Před 8 lety

    Sir can you please do the same Login window with user authentication in C# with mysql workbench server.

  • @zerosandones7547
    @zerosandones7547 Před 4 lety

    how to do this with panels only? without using mdi form

  • @avtaardhillon8397
    @avtaardhillon8397 Před rokem

    Boss! Your voice.has.gone.for.a.toss😂😂 U r hardly audible....
    well, pl.do.leave.source.code
    Via.some.link.to.follow.it.more.closely..
    I appreciate ❤❤ your efforts in.bringing.such..content.videos...🎉🎉🎉
    God.bless...
    Bess.wishes....😊😊

  • @yveverly
    @yveverly Před 8 lety

    Im stuck in 12:30, the Biodata is not appearing like it does here in the video and giving errors. Am I missing something? Please help! thanks!
    Note that Im using VS Community 2015

    • @Xenozi
      @Xenozi Před 8 lety +1

      he forget to mention that you need to create a new window form name "Biodata"
      just look at right panel in solution work see it?

  • @SuperMegaStyle
    @SuperMegaStyle Před 8 lety

    My first language is not English and I use Text To Read software

  • @TheDanielsiddiqui
    @TheDanielsiddiqui Před 7 lety

    when i choose mdiparent form the login form does not start. it shows many errors

  • @Sajidhussain302
    @Sajidhussain302 Před 4 lety

    Sir visual ka light version use kiya karo tutorial banane main. koch nazar to aa a na.

  • @jharenfajardo5693
    @jharenfajardo5693 Před 8 lety

    why i dont have a just plain biodata tool? on 12:30 >.< im stuck

  • @akallius5427
    @akallius5427 Před 6 lety

    Ehhh ok video

  • @ajaychettri2806
    @ajaychettri2806 Před 8 lety

    how to make a database entry for login form and then login after registering +vetrivel D

  • @Emmanuelkabs
    @Emmanuelkabs Před 7 lety

    Biodata is that a class? cause when there is an error and i don't get how the biodata window came with all those button and textboxes. is that by default?

    • @TheYanuary
      @TheYanuary Před 7 lety

      It's another form created I think. It isn't shown in the video.

    • @nguyenucvuong59
      @nguyenucvuong59 Před 5 lety

      Biodata is not a class. Just it's a new winform and be named Biodata.

  • @Paul-wx5uc
    @Paul-wx5uc Před 8 lety

    do you no how to make login form for my wizard on kodi??

  • @Aero3D
    @Aero3D Před 7 lety

    How do you make it say a message if you enter a username/password that is invalid, opposed to nothing happening?

  • @naveensundar9623
    @naveensundar9623 Před 7 lety

    Sir i want to create a employee details in webapplication and creating a database by using asp.net version of visual basic2010 give me tha solution to quick access

  • @kasalwebwalya3017
    @kasalwebwalya3017 Před 8 lety

    do you post code cause i have slow internet connection so i cant view in HD

  • @SamoMr
    @SamoMr Před 7 lety +2

    where is biodatas code? you dont show

  • @sachin__ak
    @sachin__ak Před 5 lety

    Severity Code Description Project File Line Suppression State
    Error CS1061 'MDIParent1' does not contain a definition for 'MDIParent1_Load' and no extension method 'MDIParent1_Load' accepting a first argument of type 'MDIParent1' could be found (are you missing a using directive or an assembly reference?) CsharpApp C:\Users\Sachin Ananthakumar\source
    epos\WindowsFormsApp1\WindowsFormsApp1\MDIParent1.Designer.cs 93 Active
    i am getting this error please help

  • @kunal9999100
    @kunal9999100 Před 7 lety

    Biodata error, no namespace. Please tell me the solution.

  • @619Visshnu
    @619Visshnu Před 7 lety

    how to close form1 after login ???? with out hide methode...i mean with out using this.hide();

  • @godwinngaju6087
    @godwinngaju6087 Před 6 lety

    Hello, i get an error message on "myAdapter.Fill(myDt);" . ......it says "{"Incorrect syntax near '*'."}"....Please, help.

    • @qurbansaberi479
      @qurbansaberi479 Před 6 lety

      just remove the star, star mains select all (SELECT Role FROM your table [name] where Role = ' " + TextBox1.Text+" ' and Password = ' " +TextBox2.Text+" ' , con); i hop you would solve you problem

  • @tadzmahalabtahi960
    @tadzmahalabtahi960 Před 8 lety

    can you help me how to create a priority number

  • @retchelobcianal
    @retchelobcianal Před 8 lety

    ca I have a code for payment system for college. thank you

  • @nagabrahmamj1187
    @nagabrahmamj1187 Před 7 lety +2

    is this any possibility to see my password *******(hide) like this in ado.net

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

      Go to Propreties of the textbox and put password char as *

    • @rjc131
      @rjc131 Před 7 lety

      private void passwordCharCheckBox_CheckedChanged(object sender, EventArgs e)
      {
      // To toggle the characters in the password textBox
      if(passwordCharCheckBox.Checked == true)
      {
      userPassTextBox.PasswordChar = '\0';
      }
      else
      {
      userPassTextBox.PasswordChar = '*';
      }
      }

    • @arslanali774
      @arslanali774 Před 6 lety

      yes , use SystemChar Property For The Password TextBox

  • @Kidkromechan
    @Kidkromechan Před 8 lety

    How do i not allow other uses to click something that a specific user created? Like if 'user1' adds information into the board, only he can see the remove button next to the information, other users cannot remove it.

    • @sh1nyworld
      @sh1nyworld Před 8 lety +1

      You need to note the entry with the id of 'user1' in the database. Then you can easily filter the entries by user name/id.

    • @Kidkromechan
      @Kidkromechan Před 8 lety +1

      Atomjoggeli I solved the problem using session yes :D user logs in so it starts a session with session name set to their username. :3 thank you for trying to help though. It's the thought that counts, i appreciate it :3

    • @sh1nyworld
      @sh1nyworld Před 8 lety +1

      Always a pleasure ;)

    • @sherwinmanguilin1173
      @sherwinmanguilin1173 Před 8 lety

      sir how can i do that can you do some tutorial thanks :)

    • @Kidkromechan
      @Kidkromechan Před 8 lety

      sherwin manguilin Look into creating login sessions which tells the computer who is logged in by giving them a session name and only if that session name matches the one in database, features like buttons or textboxes will be enabled.

  • @fannymaepamittan3025
    @fannymaepamittan3025 Před 6 lety

    how can i get the full code? please in need it thank you sir.

  • @swapnilsonsurkar2136
    @swapnilsonsurkar2136 Před 7 lety +1

    from where Biodata.cs file Came

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

    can you give us the code to play with it?

  • @deepikaverma8231
    @deepikaverma8231 Před 8 lety

    Error 1 'login_Window_with_User_Authentication.Biodata.Dispose(bool)': no suitable method found to override
    how to resolve this error

  • @user-yy6wl3zi3d
    @user-yy6wl3zi3d Před 7 lety

    I want how to creat admission register software in kannada langauge

  • @tontonleavealone1922
    @tontonleavealone1922 Před 8 lety

    Hi Vertrivel D, can you make tutors video on operator just as Arithmetic operator, Logical operator, and Relational operator? thank you in advance and I will click likes and sub if I you make this request as well others will follow..

  • @KillaV91
    @KillaV91 Před 8 lety

    do you have a link to the source code?

  • @StorySparkInspirations

    Well tried but totally confusing.