Solved

DDX equivalents in C# Window Forms

Posted on 2009-07-08
4
466 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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