Hello everybody!
I'm sorry to post about this issue again but i've read almost all posts that i found and couldn't get the answer (stupid)
(Nobody uses C++.NET anymore???)
What i need to understand is how to bind a TextBox 's Text with a column of a Database Table.
I ' ve connected my Form to a db Table named "Managers" creating an oleDbConnection and oleDbAdapter and then i generated a Dataset.
I want now to bind the Text property of a Textbox, with the column "Name" of the table "Managers".
So i write the following:
textBox1->DataBindings->Add(new System::Windows::Forms::Binding(S"Text", this->dataSet11 ,S"Managers.Name" ));
What's wrong with this?
I feel that i miss the point and the code above isn't the problem...
Please help me as you can!
Thank you in advance!
I'm sorry to post about this issue again but i've read almost all posts that i found and couldn't get the answer (stupid)
(Nobody uses C++.NET anymore???)
What i need to understand is how to bind a TextBox 's Text with a column of a Database Table.
I ' ve connected my Form to a db Table named "Managers" creating an oleDbConnection and oleDbAdapter and then i generated a Dataset.
I want now to bind the Text property of a Textbox, with the column "Name" of the table "Managers".
So i write the following:
textBox1->DataBindings->Add(new System::Windows::Forms::Binding(S"Text", this->dataSet11 ,S"Managers.Name" ));
What's wrong with this?
I feel that i miss the point and the code above isn't the problem...
Please help me as you can!
Thank you in advance!