摘要:
一、bin文件 1、读写 /// <summary> /// 加载任意二进制文件 /// </summary> public static bool LoadBinaryFile(ref WaveData_Class testObj, string Fliepath) { bool res = fa 阅读全文
摘要:
一、读写 /// <summary> /// 保存到csv /// </summary> public static void SaveCsv(string Path, string[] strArr) { //string path = System.AppDomain.CurrentDomain 阅读全文
摘要:
一、ini文件 1、创建、读写 https://www.cnblogs.com/xmy-007/p/6400221.html 二、xml文件 1、读写 /// <summary> /// 加载xml文件保存到指定类 /// </summary> public static bool LoadXml( 阅读全文
摘要:
一、读写TXT /// <summary> /// 读取txt /// </summary> public static string[] ReadTxt(string path) { List<string> str = new List<string>(); StreamReader sr = 阅读全文
摘要:
一、DataTable导入导出Excel using System; using System.Collections.Generic; using System.Data; using System.Data.OleDb; using System.IO; using System.Linq; u 阅读全文
摘要:
一、DataTable与Excel的文件读写 1、Excel导出到DataTable using NPOI.SS.UserModel; using System; using System.Collections.Generic; using System.Data; using System.IO 阅读全文