10 2015 档案

数据库操作类
摘要:using System;using System.Collections;using System.Collections.Specialized;using System.Data;using System.Data.SqlClient;using System.Configuration;na... 阅读全文

posted @ 2015-10-20 10:25 编程笑笑生 阅读(259) 评论(0) 推荐(0)

2种方法实现数字字符串的左补齐0
摘要:int temp = 1110; Console.WriteLine(temp.ToString().PadLeft(6, '0')); //001110 Console.WriteLine(string.Format("{0:d6}", temp));... 阅读全文

posted @ 2015-10-14 11:59 编程笑笑生 阅读(676) 评论(0) 推荐(0)

导航