What is the equivalent of data exchange in C#?

  • Thread starter Thread starter Reza Razavipour
  • Start date Start date
R

Reza Razavipour

In a Windows Form, I have a control called MyEditC, an edit control. I want
to have a string variable that holds the string value of MyEditC. In C++,
this was done through DataExchange, DDX... and UpdateData calls. Does this
ring a bell?

How does one do it in C#?

Thanx,

Reza
 
Reza said:
In a Windows Form, I have a control called MyEditC, an edit control. I want
to have a string variable that holds the string value of MyEditC. In C++,
this was done through DataExchange, DDX... and UpdateData calls. Does this
ring a bell?

How does one do it in C#?

MyEditC.Text = "foo";
MessageBox.Show(MyEditC.Text);

Welcome to the world of RAD. ;-)
 
Back
Top