locked
How to Display column from MySql into windows form text-box on Visual Studio C#? RRS feed

  • Question

  • Im a very noobie in C#. Please give me a simple example, where: I click on winform button and get content from mysql column( I know how to create windows from app in visual studio and put button there, I just need an example code). I dont need an example mysql query(ive got mine), I need a simple example, with simple random query. Please, Thanks)
    Friday, April 1, 2016 10:34 PM

All replies

  • Im a very noobie in C#.

    Yeah, and you need to go get a C# book and an ADO.NET book. And you also need to come away from MySQL at this time and use MS SQL Server Express that is free to download and use, because most tutorials and  learning articles using Bing or Google are using MS SQL Server.

    https://www.google.com/?gws_rd=ssl#q=books+on+C%23

    All DB providers adhere to the ADO.NET implementation standards, and you have to know ADO.NET  to even use MySQL, as an example. But you need to start with MS SQL Server and get the feel of how ADO.NET works before you try MySQL. 

    https://msdn.microsoft.com/en-us/library/h43ks021%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

    https://www.google.com/?gws_rd=ssl#q=book+on+ado.net

    The Learning Center is a good place to start.

    https://www.microsoft.com/middleeast/msdn/learning/

    • Proposed as answer by User3DX Saturday, April 2, 2016 3:20 AM
    Friday, April 1, 2016 11:43 PM
  • Hi Legal Weed,

    >> I click on winform button and get content from mysql column( I know how to create windows from app in visual studio and put button there, I just need an example code). I dont need an example mysql query(ive got mine), I need a simple example, with simple random query. Please, Thanks)

    This forum is about the .Net Framework C# development, as your issue is more related to the MySQL database connection, it would be out of this forums support scopes.  You’d better post your issue in MySQL forums for better support.

    Now, I would move this thread to “off topic”. If you any issues about C# development, you are welcome to post them here.

    Thank you for your understanding and support.

    Best Regards,

    Albert Zhang


    Tuesday, April 5, 2016 3:01 AM