摘要: 1.引用 ZXing.net 2.控制器代码 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ZXing; using Z 阅读全文
posted @ 2020-01-07 09:00 噜啦啦0001 阅读(414) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.SessionState; namespace UI { /// <summary> /// V 阅读全文
posted @ 2019-12-23 20:21 噜啦啦0001 阅读(645) 评论(0) 推荐(0) 编辑
摘要: var formData = new FormData(); formData.append("file",$("#File1")[0].files[0]); $.ajax({ url: "Ashx/Uploadimg.ashx",//路径记得更换 type : 'POST', data : for 阅读全文
posted @ 2019-12-23 20:09 噜啦啦0001 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 跨域设置:(API服务端) webconfig文件中,system.webServer节点下添加 <!--跨域请求:三个配置信息--> <httpProtocol> <customHeaders> <!--响应类型 (值为逗号分隔的一个字符串,表明服务器支持的所有跨域请求的方法)--> <add n 阅读全文
posted @ 2019-12-23 20:07 噜啦啦0001 阅读(319) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Data.SqlClient;//引用数据库客户端 using System.Linq; using System.Text; using System.Threading.Ta 阅读全文
posted @ 2019-12-23 20:06 噜啦啦0001 阅读(450) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.Mail; namespace PubilcHelper { public class EMa 阅读全文
posted @ 2019-12-23 20:04 噜啦啦0001 阅读(355) 评论(0) 推荐(0) 编辑
摘要: //设置Cookie function setCookie(name, value) { var Days = 1; var exp = new Date(); exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000); document.coo 阅读全文
posted @ 2019-12-23 20:00 噜啦啦0001 阅读(4484) 评论(0) 推荐(0) 编辑
摘要: var show_num = []; draw(show_num); function dj() { draw(show_num); alert(show_num) } function draw(show_num) { var canvas_width = document.getElementB 阅读全文
posted @ 2019-12-23 19:57 噜啦啦0001 阅读(421) 评论(0) 推荐(0) 编辑
摘要: /* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message * Digest Algorithm, as defined in RFC 1321. * Version 2.1 Copyright (C) Pa 阅读全文
posted @ 2019-12-23 19:52 噜啦啦0001 阅读(846) 评论(0) 推荐(0) 编辑
摘要: create database Exam_Week3 GO USE Exam_Week3 GO create table Classs ( ClaID int identity(1001,1), ClassName varchar(100), Counts int ) go insert into 阅读全文
posted @ 2019-12-23 19:51 噜啦啦0001 阅读(251) 评论(0) 推荐(0) 编辑