摘要:
格式模式(设日期2016-10-19 15:53:29) d 月中的某一天。一位数的日期没有前导零。 dd 月中的某一天。一位数的日期有一个前导零。 ddd 周中某天的缩写名称,在 AbbreviatedDayNames 中定义。(周三) dddd 周中某天的完整名称,在 DayNames 中定义。 阅读全文
摘要:
1 /// 2 /// 是否是Decimal,空返回false 3 /// 4 /// 5 /// 6 private bool IsDecimal(string s) 7 { 8 bool isDec = true; 9 try 10 { 11 Convert.ToDecimal(s); 12 } 13 catc... 阅读全文