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