随笔分类 - .net
.net
摘要:PadLeft(int totalWidth, char paddingChar) //在字符串左边用 paddingChar 补足 totalWidth 长度PadLeft(int totalWidth, char paddingChar) //在字符串右边用 paddingChar 补足 tot
阅读全文
摘要:如 2011-1-16 0:02:59 去掉2个“-”2个“:” 还有中间的空格
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 泛型练习 { class Program { static void Main(string[] args) ...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:1 //连接数据库 2 SqlConnection con = new SqlConnection("server=****;database=****;uid=sa;pwd=********"); 3 4 /// 5 /// 提取数据表保存为XML文件 6 /// 7 ...
阅读全文
浙公网安备 33010602011771号