Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DataGridView Number cells with two decimal places!

$
0
0
I have a DataGridView with textbox columns wich only accepts numbers. I formated it to add 2 decimal places, beeing null value 0,00 but when I edit, I change the value for example to a 5 with no decimal places, I want it to change automatically to 5,00 is it possible to do it directly on the datagridview or do I need to create a function?

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>