Solved

DDX equivalents in C# Window Forms

Posted on 2009-07-08
4
458 Views
Last Modified: 2012-05-07
In MFC I made several DDX routines to handle edit box data for Dialogs.

For example,  DDX_Dist would convert inches to Ft/Inch and back. if the user typed in 1' 3", DDX_Dist would convert to 15.0 for internal storage. The user would always see the value in the current unit (Ft/In or Meter).

Another one if DDX_Angle. The user sees 180.0° when converted from 3.14159

Do you know of anything like this in C# WinForms?

Thanks, Matt
0
Comment
Question by:MTB2440
  • 2
4 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 250 total points
ID: 24807615
This is solved with data binding. You associate (bind) a control with a datasource.
Have a look to this tutorial:
http://www.akadia.com/services/dotnet_databinding.html
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 24997507
I think I have provided a valid answer.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now