Format Percentage

  • Thread starter Thread starter bobdydd
  • Start date Start date
B

bobdydd

Hi Everybody

I am using VB.NET Express with SQL ServerExpress

In VB6 and Access 2000 you could specify a number to display as a
percentage to 2 decimal places.

How can you do this with VB.NET Express with SQL ServerExpress.

I have been into Properties>> Data>>DataBindings>>Advanced and put a
"P" in the custom format... but no joy

Please Help

Bob
 
Bop,

In VB.Net it depends where you use the data, the data stays the data..

(More if it is a complex datacontrol as a DataGridView or a simple Control
as a label)

So give us an example where you want to use it.

Cor
 
Hi Cor

Thanks for a quick reply

It is a form with a text box that is bound to a
number (int) that I need to enter say 0.7
and it displays as 70%

Thanks Bob
 
Back
Top