随笔分类 -  .net

.net
摘要:PadLeft(int totalWidth, char paddingChar) //在字符串左边用 paddingChar 补足 totalWidth 长度PadLeft(int totalWidth, char paddingChar) //在字符串右边用 paddingChar 补足 tot 阅读全文
posted @ 2016-12-16 08:03 hobe6699 阅读(866) 评论(0) 推荐(0)
摘要:如 2011-1-16 0:02:59 去掉2个“-”2个“:” 还有中间的空格 阅读全文
posted @ 2016-12-16 08:01 hobe6699 阅读(533) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 泛型练习 { class Program { static void Main(string[] args) ... 阅读全文
posted @ 2016-12-11 11:16 hobe6699 阅读(355) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using NPOI.HSSF.UserModel; using System.IO; using System.Data... 阅读全文
posted @ 2016-08-30 14:36 hobe6699 阅读(434) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using System.Thr... 阅读全文
posted @ 2016-08-20 15:55 hobe6699 阅读(7345) 评论(0) 推荐(0)
摘要:1 //连接数据库 2 SqlConnection con = new SqlConnection("server=****;database=****;uid=sa;pwd=********"); 3 4 /// 5 /// 提取数据表保存为XML文件 6 /// 7 ... 阅读全文
posted @ 2016-08-16 10:03 hobe6699 阅读(388) 评论(0) 推荐(0)