摘要: MailMessage mailMsg = new MailMessage();//实例化对象 mailMsg.From = new MailAddress("发件邮箱", "发件人"); mailMsg.To.Add(new MailAddress("收件邮箱")); mailMsg.Subjec 阅读全文
posted @ 2020-11-25 15:09 君仙 阅读(113) 评论(0) 推荐(0) 编辑
摘要: go select * from UserInfoes;select * from ProInfoes;select * from FavInfoes;select * from ShopInfoes;select * from AddInfoes;select * from AreaInfoes; 阅读全文
posted @ 2020-08-02 20:35 君仙 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 简简单单的游标和局部函数仅此而已 create database D13 gouse D13 create table UserInfo( ID int primary key identity, Account varchar(20), Password varchar(20), Status i 阅读全文
posted @ 2020-07-28 20:47 君仙 阅读(55) 评论(0) 推荐(1) 编辑
摘要: 1 [HttpPost] //上传文件是 post 方式,这里加不加都可以 2 public async Task<IActionResult> UploadFiles(List<IFormFile> files) 3 { 4 5 var filepath = Directory.GetCurren 阅读全文
posted @ 2020-07-28 09:40 君仙 阅读(119) 评论(0) 推荐(0) 编辑
摘要: c#图片上传是一种很简单的技术接下来让我们一起来看看吧: 前台页面: @{ ViewBag.Title = "Index"; } <h2>Index</h2> <script src="~/Scripts/jquery-3.4.1.js"></script> <script src="~/Scrip 阅读全文
posted @ 2020-07-26 20:27 君仙 阅读(141) 评论(1) 推荐(0) 编辑
摘要: Login控制器: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebApplication1.Control 阅读全文
posted @ 2020-07-24 10:44 君仙 阅读(117) 评论(0) 推荐(0) 编辑