Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

C# login database

Loading...

Sign in or sign up now!
76,815
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Link to this comment:

Share to:

Uploader Comments (deafjackomonster)

  • Here's a couple of tips to make your code a bit smaller and more easy to understand. First of all, instead of creating a new instance of a string you could just use it all as one.

    Console.WriteLine("Username: " + Console.ReadLine());

    Same would go with the password. Another thing you could do is create the SqlConnection instance within the class so it doesn't have to be recreated each time a function is called. You could also add to the end of your string "/n" instead of.

    Console.WriteLine("");

  • @HQLegendary Thats a good bunch of tip, cheers mate. Better then the flame of others :P

  • easy way to identify if it's c++ or c#, c++ has sub categories (private SUB), c# has (private void)

    If it says SUB, it's C++, if it says VOID, it's C#

    Quick tip :P

  • @xmuchtoocrazyx Or you just look at the title of the video...

Top Comments

  • C# And C++ are not the same languages.

  • Ummm, lawyers dont arrest people...

see all

All Comments (68)

Sign In or Sign Up now to post a comment!
  • @deafjackomonster Yeah no problem! :)

  • Thanks this helped and teached me a lot

  • man, you're the best. I had read some tutorials, but, none gave me help like yours. Ty, and don't stop making excellent videos.

  • @xmuchtoocrazyx Actually, niether C++ or C# have the "Sub" keyword. Both use "private void" in the sense you mean it - as far as I can gather :) -- Just fyi.

  • Thanks. It took about an hour, but I got it to work.

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more