随笔分类 - .Net
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.SessionState; namespace UI { /// <summary> /// V
        阅读全文
                
摘要:var formData = new FormData(); formData.append("file",$("#File1")[0].files[0]); $.ajax({ url: "Ashx/Uploadimg.ashx",//路径记得更换 type : 'POST', data : for
        阅读全文
                
摘要:跨域设置:(API服务端) webconfig文件中,system.webServer节点下添加 <!--跨域请求:三个配置信息--> <httpProtocol> <customHeaders> <!--响应类型 (值为逗号分隔的一个字符串,表明服务器支持的所有跨域请求的方法)--> <add n
        阅读全文
                
摘要:using System; using System.Collections.Generic; using System.Data.SqlClient;//引用数据库客户端 using System.Linq; using System.Text; using System.Threading.Ta
        阅读全文
                
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.Mail; namespace PubilcHelper { public class EMa
        阅读全文
                
摘要://设置Cookie function setCookie(name, value) { var Days = 1; var exp = new Date(); exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000); document.coo
        阅读全文
                
摘要:var show_num = []; draw(show_num); function dj() { draw(show_num); alert(show_num) } function draw(show_num) { var canvas_width = document.getElementB
        阅读全文
                
摘要:/* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message * Digest Algorithm, as defined in RFC 1321. * Version 2.1 Copyright (C) Pa
        阅读全文
                
摘要: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 
        阅读全文
                
摘要:csc.exe代表C# 编译器,所以在需要项目nuget包引用”Microsoft.CodeDom.Providers.DotNetCompilerPlatform“以及”Microsoft.Net.Compilers“,然后在编译的时候,自动会在bin文件夹里生成roslyn文件夹,无需从别的项目
        阅读全文
                
摘要:导出 public FileResult Input() { DataTable dt = new DataTable("dd"); using (SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=IOT170
        阅读全文
                
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号