Is Mapping SIMPLE data to winform control really as hard as it seems?
Posted
by HotOil
on Stack Overflow
See other posts from Stack Overflow
or by HotOil
Published on 2010-05-18T21:49:15Z
Indexed on
2010/05/18
21:50 UTC
Read the original article
Hit count: 205
Hi: I'm making a leap from MFC to WinForms. It has all gone smoothly so far; The windows/gui parts of winforms app development are making good sense to me.
But. Now all I want to do is display simple data types in the controls on the form, and retrieve them from the controls when the user clicks.
This is a very simple operation in MFC.. (DataExchange) but seems to be much more complicated in .NET. Binding ? DataObject ? DataSet ? no.. I don't want a dataset or records or columns or any of that. I just want to map an or a bool to a checkbox or a radiobutton..
I have looked but have not found any good examples of doing this in C++.
Is it really this hard? Really? What am I missing?
Thanks-
© Stack Overflow or respective owner