摘要:
public class RegisterHelp { /// <summary> /// CPU /// </summary> /// <returns></returns> public string GetCpu() { string strCpu = null; ManagementClas 阅读全文
摘要:
需要的Dll: NPOI.OOXML.dll https://files.cnblogs.com/files/CityOfThousandFires/NPOI.dl.rar /// <summary> /// Excel->DataTable /// </summary> /// <param na 阅读全文
摘要:
#region 操作注册表 RegistryKey key = Registry.CurrentUser; string regPath = "software\\MyApp"; /// <summary> /// 创建注册表 /// 注意:注册表路径一定是"\\"而不是"\" /// </summ 阅读全文
摘要:
查询DataTable返回List List<string> listNation = dtNation.AsEnumerable().Select(d => d.Field<string>("MZMC").Trim()).Distinct().ToList(); 查询DataTable返回stri 阅读全文