Connect to MySQL Database – Use Select, Insert, Update – C# C Sharp Visual Studio 2010

Posted by: Admin  :  Category: Mysql

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

In this tutorial I show you how to connect to a mySQL database using C# and Visual Studio 2010. I also show you a few useful queries you can run: Select, Insert, and Update in order to use the data in the mySQL database. WEBSITE: www.Quack-Ware.com FORUMS http FREE CODE SNIPPETS www.freecodesnippets.com
Video Rating: 4 / 5

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

24 Responses to “Connect to MySQL Database – Use Select, Insert, Update – C# C Sharp Visual Studio 2010”

  1. Sirepicwin Says:

    WTF with captions!!!

  2. xabdullahx Says:

    @xabdullahx Fixed it. First letter in User Id (Uid) was capitalized. – Username is case sensitive

  3. xabdullahx Says:

    I did as you did.
    But my program keeps cant open the connection. it goes to the exception..

  4. oskenso Says:

    You sound just like me!

  5. es696 Says:

    i also include the source code

  6. es696 Says:

    hey if you want another tutorial that uses forms check mine out

  7. kennet081804 Says:

    dude, can you make a sample video for desktop app saving a Picture to MySQL and then retrieving it from Database to Picturebox? thank you in advance 🙂

  8. TheSneedleWoods Says:

    @flutep i want to know that too!

  9. anonimato1234 Says:

    mmmm how do i update??

  10. MsTheKryptonian Says:

    Thanks Alot. Guys im so good for make 5095 – 5165 servers who want make a one sv just write me kiko.aka.greath@live.com

  11. flutep Says:

    how can you store the result of your query in a string variable?plz

  12. natkin178 Says:

    thanks ! clear and simple. just what i needed.

  13. Sebastianrgbg Says:

    ” ‘ +textbox.text+’ “

  14. Sebastianrgbg Says:

    Hi,
    you tutorial work fine with my oracle connection.
    how can I put the value of a textbox in a select?
    like: select test from blabla where textbox.text = ‘NM5’; or variable = ‘NM5’
    Thanks

  15. netaneld122 Says:

    I: have a wamp server, where do I find this DLL?

  16. 998877User Says:

    Thank you very much, this helped me a lot.

  17. RavanaMad Says:

    Thanx a lot for the video !

  18. Mirgorodo Says:

    nice tutorial 🙂

    Hi from Ukraine 😉

  19. QuackWare Says:

    @ashjonesnwpb That is usually what scripting languages such as php are for. You can also use a .Net codebehind language such as C# in your ASP.Net page.

  20. QuackWare Says:

    @r4jk3

    MySqlConnection establishes a connection to the database based on the connection string you provide. MySqlCommand is a command you execute against the database.

  21. r4jk3 Says:

    can you please , tell more about MySqlConnection and MySqlCommand, whats the purpose of those commands, just for the begginers. thanks.

  22. ashjonesnwpb Says:

    i build sites in html, is it possible to have database software to update pictures and text on a html page?

  23. slier81 Says:

    hi there
    i used to coding in php
    when i code with php..i need to start mysql server before connecting to it
    how did u start it in c#

  24. Gmicrosh Says:

    Cool thnx alot
    very helpful

Leave a Reply

*