DatagridView .DefaultCellStyle.Format = "p" 200,00%
I have associated to a colunm of a datagrid view this format :
.DefaultCellStyle.Format = "p"
when i digit 2, cell become 200,00% instead should 2,00% !
How can i resolve this problem ?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Bechir BejaouiRank #144 · 15.9K pointsPosted Mar 14, 2009, 4:26 AM EDT
String.Format("{0:P}",x/100);