Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
Numeric Entry and BindingSource.Add Method - Show Thousands format on form
posted

I am trying to create a numeric data entry that binds to a data source. in VB6, I used the PVNumeric control

In .NET and WinForms, I found the answer by modifying the the Numeric Editor MaskEdit property as this option is not offered.

- Change the MaskEdit propertyto "-nnn,nnn,nnn"

- In bindings, change "Text" to "Value", i.e:

         ultraNum_Cash.DataBindings.Add("Value", BankTable, "B_O_Draft")

The value in the database is changed to -2520325. Shown on form as : -2'520'325 

Parents
No Data
Reply
  • 21795
    Offline posted

    Hello David,

    I am glad to hear that you were able to solve this issue. Thank you also that you have shared your solution with all the members in our forum.

    Thank you for using Infragistics Controls.

Children
No Data