04 2020 档案

摘要:按日期汇总 SELECT TOP 2 substring(Convert(VARCHAR(30), LastLoginTime, 120),1,10) as 日期 , count(UserName) from SysAdmins group by substring(Convert(VARCHAR( 阅读全文
posted @ 2020-04-25 15:06 zhujie- 阅读(1052) 评论(0) 推荐(0)
摘要:/// /// 置底 /// /// /// 要置底的行号 public static void BottomDataGridView(DataGridView dataGridView,int index) { try { DataGridViewSelectedRowCollection dgv 阅读全文
posted @ 2020-04-20 19:49 zhujie- 阅读(216) 评论(0) 推荐(0)
摘要:private void button1_Click(object sender, EventArgs e) { DataTable dt = getdd(); chart1.DataSource = dt;//数据表 //控件背景 chart1.BackColor = ColorTranslato 阅读全文
posted @ 2020-04-19 20:37 zhujie- 阅读(952) 评论(0) 推荐(0)
摘要:using System; using System.Text; using System.IO; namespace Common.Utility { /// /// 文件操作夹 /// public static class DirFile { region 检测指定目录是否存在 /// /// 阅读全文
posted @ 2020-04-13 23:15 zhujie- 阅读(226) 评论(0) 推荐(0)
摘要:using System; using System.Text; using System.Web; using System.IO; namespace Common.Utility { public class FileOperate { region 写文件 protected void Wr 阅读全文
posted @ 2020-04-13 23:13 zhujie- 阅读(233) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace MyStringHelper { /// /// 字符串操作类 /// 阅读全文
posted @ 2020-04-13 00:07 zhujie- 阅读(174) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MyPinYin { /// /// 汉字拼音转换类 /// public static class Pin 阅读全文
posted @ 2020-04-13 00:00 zhujie- 阅读(516) 评论(0) 推荐(0)
摘要:using System; using System.Text; using System.Text.RegularExpressions; namespace Utilities { /// /// 共用工具类 /// public static class Tools { region 得到字符 阅读全文
posted @ 2020-04-12 23:57 zhujie- 阅读(322) 评论(0) 推荐(0)
摘要:/// /// Excel一次性大量数据快速写入 /// /// 工作薄路径 /// 要写入的工作表名字 private void WriteExcel(string path,string sheetName) { Microsoft.Office.Interop.Excel.Applicatio 阅读全文
posted @ 2020-04-07 23:41 zhujie- 阅读(1282) 评论(0) 推荐(0)