W~C停用

导航

2021年4月26日 #

.net Core 获取当前程序路径

摘要: 1.先创建一个类: public static class MyServiceProvider { public static IServiceProvider ServiceProvider { get; set; } } 2.Startup.cs中Configure方法中添加 MyService 阅读全文

posted @ 2021-04-26 22:12 W~C停用 阅读(935) 评论(0) 推荐(0)

关于C#后端接收前段传来的文件

摘要: 阅读全文

posted @ 2021-04-26 18:09 W~C停用 阅读(326) 评论(0) 推荐(0)

清除数据库中所有表的数据,不删除表

摘要: declare c cursor for select NAME from sysobjects where xtype='U' declare @t varchar(200) open c fetch next from c into @t while @@FETCH_STATUS=0 begin 阅读全文

posted @ 2021-04-26 14:41 W~C停用 阅读(247) 评论(0) 推荐(0)