2024年7月2日

摘要: private void ReadCVS(YaJiangBigDataContext _content,Type classType, string csvPath) { //YaJiangBigDataContext 是EF的Contex,本例中可以替换为List<Object> //csvPat 阅读全文

posted @ 2024-07-02 21:34 火冰·瓶 阅读(1) 评论(0) 推荐(0) 编辑

摘要: Type classType = typeof(ClassName); // 获取类的type string path = fullName + "," + assemblyName;//命名空间.类型名,程序集 Type classType = Type.GetType(path);//加载类型 阅读全文

posted @ 2024-07-02 21:26 火冰·瓶 阅读(1) 评论(0) 推荐(0) 编辑

摘要: static void Test() { string path = "E:\\软件包\\net安装包\\4_NDP472-KB4054531-Web.exe"; Console.WriteLine("目录:" + Path.GetDirectoryName(path)); //E:\软件包\net 阅读全文

posted @ 2024-07-02 21:01 火冰·瓶 阅读(3) 评论(0) 推荐(0) 编辑