.ToString("#,0.####")
Gridview > Text='<%# Eval("Price", "{0:#,0.####}")%>'
<asp:BoundField DataField="Price" HeaderText="Price" DataFormatString="{0:#,0.####}" />
<asp:BoundField DataField="EDate" DataFormatString="{0:dd-MM-yyyy}" HeaderText=" Date" />
<asp:BoundField DataField="EDate" DataFormatString="{0:HH:mm}" HeaderText="Time" />
No comments:
Post a Comment