Code: Select all
// mySqlCommand1
//
this->mySqlCommand1->CommandText = L"select *\r\nfrom Users";
this->mySqlCommand1->Connection = this->mySqlConnection1;
this->mySqlCommand1->Name = L"mySqlCommand1";
this->mySqlCommand1->Owner = this;
//
// mySqlConnection1
//
this->mySqlConnection1->ConnectionString = L"User Id=programm;Host=*******.net;Database=programm;Password=14"
L"7****;";
this->mySqlConnection1->Name = L"mySqlConnection1";
this->mySqlConnection1->Owner = this;
I have made a ritchtext box wich is supposed to show me the results:
Code: Select all
private: System::Void btntest_Click(System::Object^ sender, System::EventArgs^ e) {
box1-> Text =
}
any replay is highly appreciated!
THANKS in advance!