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
Solved

DDX equivalents in C# Window Forms

Posted on 2009-07-08
4
460 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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 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