Connecting to a MySQL server and executing select, insert, update, delete query’s from within C#. .Net connector for MySQL: …
Original source
Connecting to a MySQL server and executing select, insert, update, delete query’s from within C#. .Net connector for MySQL: …
Original source
10 responses to “C# MySQL Tutorial | Connecting Select Insert Update Delete”
I'm new at c# language can i ask how can i apply a try catch in
public static List<User> GetUsers()
{
……
}
Thanks a lot! It was very usefull!
Can explain where the getuser is
Hey, can you help me with image. How can I insert image in db?
i downloaded ur file and run it. when i click on "load all", it doesnt work and show a problem in 64th line :"An unhandled exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll
Additional information: Authentication to host '127.0.0.1' for user 'root' using method 'mysql_native_password' failed with message: Unknown database 'db_tut' ". but db_tut was existed in my PC
can u help me to solve it???
I do not have MySqlConnectionStringBuilder, I have MySqlCommandBuilder and MySqlConnection…any idea what to use?
Спасибо, была необходимость работать с MySql в c#, с твоей помощью быстро освоил.
whats visual studio version is that?
Cool and handsome!
PRO !