C++ Windows Form Application Mysql Connection Using Visual C++ Windows Forms with MySQL C++ Windows Form Application Mysql Connection Mysql And …
Original source
C++ Windows Form Application Mysql Connection Using Visual C++ Windows Forms with MySQL C++ Windows Form Application Mysql Connection Mysql And …
Original source
28 responses to “Visual C++ Tutorial 3 -Windows Forms Application: Mysql Connection Part 2”
Hi, how can we connect Sqlite with a Windows Form Application ?
Thanks for the great tutorials…
Sir, i get the following message when i press the local window debugger button: "the system cannot find the file specified". What does it mean? How to fix the problem?
hi man , when i try to run it it gives me this error , pleas help : Severity Code Description Project File Line Suppression State
Error C3867 'MySql::Data::MySqlClient::MySqlDataReader::Read': non-standard syntax; use '&' to create a pointer to member
How do you connect to multiple tables from your database?
Hi, I just whant to tank you for the lessons and to tell you that I have found one error on "my" code, since the line:
String^ constring=L"datasource=localhost;port=3306;username=root;password=root";
creates an error when you click te button, so I found that if you change for this:
String^ constring=L"Addr=localhost;port=3306;username=root;password=root";
there is no problem, I´m using MySQL57, and found the information in this page:
https://msdn.microsoft.com/es-es/library/system.data.sqlclient.sqlconnection.connectionstring(v=vs.110).aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-1
Blessings for you my friend.
The designer could not be shown for this file because none of the classes within it can be designed.
thank you for the great explain on all the video
good luck to you at the future
String^ constring=L"datasource=localhost;port=3306;username=root;password=root";
MySqlConnection^ conDataBase=gcnew MySqlConnection(constring);
MySqlCommand^ cmdDataBase=gcnew MySqlCommand("SELECT * FROM `database`.`employees`;",conDataBase);//queries
MySqlDataReader^ myReader;
try{
conDataBase->Open();
myReader=cmdDataBase->ExecuteReader();
}catch(Exception^ ex){
MessageBox::Show(ex->Message);
}
too much effort for just display 1234567 (from database) =(
I can´t imagine how you guys can learn that.
for me it seems like something from another planet =/
explain codes main hav u learn it i think
DUUUUUUDEEEEE!!!!!!!!!!!!!!!!!!!!! THANK YOU!
help?
Error 1 error LNK1561: se debe definir el punto de entrada c:UsersUsuariodocumentsvisual studio 2013ProjectsmysqlmysqlLINK mysql
Thank you for this video. But I have a small questions. What is this language called? Is it C#?. And how can I find the commands that you show? I'm a little confused, because those commands are not easy to understand, I don.t know how to write it. Could you help me, please?
thx
thanks for the great video, however please explain the code (what it does, why using it)plis more thorougly
Thanks a lot for the videos 🙂 Learnt to do such an amazing stuff. 🙂
very nice
you are best!!!
thanks gan.
that is good video.
I keep getting the following message when I press the OK button: "Authentication to host 'localhost' for user 'root' using method 'MySQL_native_password' failed with message: Access denied for user 'root' @ 'localhost" (using password:YES). What have I done wrong?
An unhandled exception of type 'System.ArgumentException' occurred in System.Data.dll
Additional information: Keyword not supported.
What to do with this thing?HELP
YOu are just making us to learn the code not to use it comprehensively. No explanation of the code at all. This is the worst video ever seen
While 1st running: "Error HRESULT E _FAIL has been returned from a call to a COM component".
how to connect between 2 forms
Dude, you should post a code after every vid, it's really hard to check if I make a mistake.
Thank you so much!! you are amazing! 😀
great video……I was having a nightmare trying to connect to MySQL before I saw you video…..Thanks a lot 🙂
sir! cud yu pls let me knw hw 2 add data into db from vc++ windows form!
waiting 4 yo reply..