1、数字补零输出字符串
String.Format("{0:D6}",123);
2、字符串靠左输出6位
String.Format("{0,-6}","abc");
参考:Standard Numeric Format Strings http://msdn.microsoft.com/en-us/library/dwhawy9k(v=vs.110).aspx