上一页 1 2 3 4 5 6 7 8 9 10 ··· 33 下一页
摘要: https://blog.csdn.net/softimite_zifeng/article/details/54177825 阅读全文
posted @ 2022-11-07 09:55 不溯流光 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 一、从字符串向DateTime转换时失败 写成:DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") 二、SQL Server重命名数据库及解决数据库无法分离的问题 1、重命名数据库 https://blog.51cto.com/yinkai/2336573 2、 阅读全文
posted @ 2022-11-01 17:42 不溯流光 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 一、bin文件 1、读写 /// <summary> /// 加载任意二进制文件 /// </summary> public static bool LoadBinaryFile(ref WaveData_Class testObj, string Fliepath) { bool res = fa 阅读全文
posted @ 2022-09-26 16:08 不溯流光 阅读(1596) 评论(0) 推荐(0) 编辑
摘要: 一、读写 /// <summary> /// 保存到csv /// </summary> public static void SaveCsv(string Path, string[] strArr) { //string path = System.AppDomain.CurrentDomain 阅读全文
posted @ 2022-09-26 16:05 不溯流光 阅读(1440) 评论(0) 推荐(0) 编辑
摘要: 一、ini文件 1、创建、读写 https://www.cnblogs.com/xmy-007/p/6400221.html 二、xml文件 1、读写 /// <summary> /// 加载xml文件保存到指定类 /// </summary> public static bool LoadXml( 阅读全文
posted @ 2022-09-26 15:54 不溯流光 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 一、读写TXT /// <summary> /// 读取txt /// </summary> public static string[] ReadTxt(string path) { List<string> str = new List<string>(); StreamReader sr = 阅读全文
posted @ 2022-09-26 15:48 不溯流光 阅读(1764) 评论(0) 推荐(0) 编辑
摘要: 一、DataTable导入导出Excel using System; using System.Collections.Generic; using System.Data; using System.Data.OleDb; using System.IO; using System.Linq; u 阅读全文
posted @ 2022-09-26 15:35 不溯流光 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: 一、DataTable与Excel的文件读写 1、Excel导出到DataTable using NPOI.SS.UserModel; using System; using System.Collections.Generic; using System.Data; using System.IO 阅读全文
posted @ 2022-09-26 09:42 不溯流光 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: 一、大量数据导出到Excel https://www.cnblogs.com/xiaoheihei/p/8315856.html 程序由原始的将数据一个表格一个表格地写入到EXCEL中,改变成程序先将数据存入二维数组中,然后再将数组值赋予EXCEL应用程序对象的VALUE属性,这样就使导出的效率提高 阅读全文
posted @ 2022-09-23 17:13 不溯流光 阅读(1613) 评论(0) 推荐(0) 编辑
摘要: 一、Excel 1、Datagridview导出Excel https://blog.csdn.net/binbingbong/article/details/106051194 public class xlsP { public string sheetname { get; set; } pu 阅读全文
posted @ 2022-09-23 17:02 不溯流光 阅读(1229) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 33 下一页