Browse DevX
Sign up for e-mail newsletters from DevX


Forms, Formats, and Contents : Page 2

A step-by-step tutorial that shows how to take advantage of the DataFormat property exposed by data bound controls DataFormat property, and of the StdDataFormat objects, in order to get the visualization of different currencies, while keeping the data in database tables unchanged.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

Normal Situation
Let's set Text2 DataFormat property by clicking on the ellipsis button and selecting Currency. Then click OK: now we have our textbox visualizing our currency in our known format. Eventually, the format is a custom one (for VB), if it's not a standard format. Now we can run our application and try to change the values in the price textbox. We realize that the currency symbol ($, L, D,

Diego Cattaruzza (cattaruzza@comune.trieste.it) is a programmer for the Trieste Municipality, Italy. This is the English version of one of his technical articles on his Italian site, Visual Basic Tips & Tricks.
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date