Simple question.
The formatting code I use in my projet does not apply in my asp pages at
run time.
Any Idea Why ???
Thanks in advance !!!
Esperanza
Example 1
this.txtPrix.Text =
System.String.Format("{0:c}",dtrProduitVIPComposan tPrix["sglPrixActuel"].ToS
tring());
result : 15.4567
Example 2
Another example this time in html to format a datagrig column in a pourcent
format
<asp:Label id=dg_lblPourc runat="server" Text='<%#
fctPourcComposant(DataBinder.Eval(Container, "DataItem.dblPourcentage")) %>'
DataFormatingString="{0:p}">
result :1.7876654433