Solved

DDX equivalents in C# Window Forms

Posted on 2009-07-08
4
459 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
creating a flowchart from an algorithm 5 30
How to Get total minutes between two hours 4 44
c# string handling 1 26
Filename to be appended with DateTimeof Download 3 40
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

930 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

13 Experts available now in Live!

Get 1:1 Help Now