摘要:
###在.net core项目中 ####在startup类中 ConfigureServices方法 //services是IServiceCollection实例 //尽量放方法的最后 services.AddCors(options => { options.AddPolicy("cors", 阅读全文
posted @ 2021-08-10 16:23
原往
阅读(72)
评论(0)
推荐(0)
摘要:
####1 点击数据库 右击 转储sql文件 结构和数据 2 保存到本地的文件 ####3新建数据库 与导出的数据名一致 ####新数据库运行sql文件 ####5所有表内容完成 阅读全文
posted @ 2021-08-10 16:15
原往
阅读(237)
评论(0)
推荐(0)
摘要:
上传的方法 [HttpPost] public async Task<IActionResult> ImportData(IFormCollection f) { var file = Request.Form.Files[0]; bool result = false; string errorM 阅读全文
posted @ 2021-08-10 15:31
原往
阅读(242)
评论(0)
推荐(0)
浙公网安备 33010602011771号