- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 asp.net文件获取到服务器路径,下载不下来文件
protected void AaveFile_Click(object sender, EventArgs e)///Button方法{string name = Filename.Text;//文件名string Path = FilePath.Text;string DownloadFileName = “~/ImportExcelFile/” + name;//文件路径string filepath = DownloadFileName;//int i = SaveFiould(name
2020-08-02 13:09:05 263
原创 .netcore 的api
[HttpPut][Route(“Update”)]public async Task UpdateEmp(ModelsTable table){db.Entry(table).State = EntityState.Modified;await db.SaveChangesAsync();return NoContent();}asp .net core 修改不了数据...
2019-12-28 11:12:26 132
原创 .net EF Core api 为什么linq返回的数据只有一个表的数据?
//查询某一条数据[Route(“SelectTable”)][HttpGet]public async Task<List> GetTable(){var linq = from m in db.ModelsTablejoin r in db.Student on m.Id equals r.Sidselect m; return await linq....
2019-12-26 20:21:03 306
RedisHelper.cs
2020-04-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人