摘要: DataFormatString="{0:格式字符串}" 1、时间格式化:{0:yyyy-MM-dd}2、格式数字字符串 输入 结果 "{0:C}" 12345.6789 $12,345.68 "{0:C}" -12345.6789 ($12,345.68) "{0:D}" 12345 12345 "{0:D8}" 12345 00012345 "{0:E}" 12345.6789 1234568... 阅读全文
posted @ 2010-01-31 15:19 CoderNet 阅读(330) 评论(0) 推荐(0) 编辑