07 2020 档案

摘要:简简单单的游标和局部函数仅此而已 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 君仙 阅读(61) 评论(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 君仙 阅读(135) 评论(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 君仙 阅读(151) 评论(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 君仙 阅读(127) 评论(0) 推荐(0)
摘要:if (textBox1.Text.Length<=0) { MessageBox.Show("请输入一个网址"); textBox1.Focus(); return; } else { //茉莉提交访问类 HttpClient httpClient = new HttpClient(); //网址 阅读全文
posted @ 2020-07-21 20:06 君仙 阅读(144) 评论(0) 推荐(0)