摘要: PadLeft(int totalWidth, char paddingChar) //在字符串左边用 paddingChar 补足 totalWidth 长度PadLeft(int totalWidth, char paddingChar) //在字符串右边用 paddingChar 补足 tot 阅读全文
posted @ 2016-12-16 08:03 hobe6699 阅读(849) 评论(0) 推荐(0) 编辑
摘要: 如 2011-1-16 0:02:59 去掉2个“-”2个“:” 还有中间的空格 阅读全文
posted @ 2016-12-16 08:01 hobe6699 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 前端 后台 阅读全文
posted @ 2016-12-12 11:32 hobe6699 阅读(293) 评论(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 阅读(346) 评论(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 阅读(424) 评论(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 阅读(7279) 评论(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 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 方案规划 第一方案A工序 程序界面 第一方案 A工序代码 第一方案 B工序程序界面 第一方案B工序代码 第二方案 A工序 程序界面 第二方案 A工序代码 第二方案 B工序界面 第二方案 B工序代码 阅读全文
posted @ 2016-06-27 10:34 hobe6699 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 1 int[] arrint = {1,3,5,7,9,52,10,33,8 }; 2 3 4 5 // 第一层循环 {比较的次数} 数组的长度 减 1, 6 for (int i = 0; i i; j--) 12 { 13 14 //小的... 阅读全文
posted @ 2016-06-27 09:55 hobe6699 阅读(255) 评论(0) 推荐(0) 编辑
摘要: [csharp] view plain copy print? string strsql = "Data Source=192.168.24.53;Initial Catalog=JF_Charging_System;Persist Security Info=True;User ID=sa;Password=1";//数据库链接字符串 string sql = "myinsert";//... 阅读全文
posted @ 2016-06-11 11:18 hobe6699 阅读(304) 评论(0) 推荐(0) 编辑