随笔分类 - 多样学习
摘要:父页面 HTML <div id="myWindow" class="easyui-dialog" closed="true"></div> <a onclick="openLink('title,'url');" class="easyui-linkbutton"></a> JS //打开选择框f
阅读全文
摘要:Global protected void Application_BeginRequest() { if (Request.Headers.AllKeys.Contains("Origin") && Request.HttpMethod == "OPTIONS") { Response.End()
阅读全文
摘要:控制面板--打开或关闭Windows功能 using System.Messaging;//添加引用即可 public class Message { public void MessageQueue() { CreateNewQueue("MsgQueue");//创建一个消息队列 //sendS
阅读全文
摘要:public void download(){ string fileName = "456.zip";//客户端保存的文件名 string filePath = AppDomain.CurrentDomain.BaseDirectory.Replace("\\", "/") + "Excel/12
阅读全文
摘要:var diag = new Dialog(); //diag.Width = window.screen.width; diag.Height = window.screen.height; diag.URL = url; 嵌套显示会出现内容显示不全:父及div需要设置-webkit-overfl
阅读全文
摘要:C:\Windows\System32\config\systemprofile C:\Windows\SysWOW64\config\systemprofile 创建Desktop文件夹
阅读全文
摘要:<system.web> <globalization requestEncoding="utf-8" responseEncoding="gb2312" /> </system.web>
阅读全文
摘要:document.getElementById("main").innerHTML = '<object type="text/html;" data=' + data + ' width="100%" height="600rem"></object>'; var url = data; //被加
阅读全文
摘要:在asp.net中可以在两个地方设置接受发送编码 web.config中加入 <system.web> <globalization requestencoding="utf-8" responseencoding="utf-8" /> </system.web>
阅读全文
摘要:转自https://www.cnblogs.com/yysbolg/p/9183626.html 1.用iframe、弹出子页面刷新父页面iframe 2.弹出子页面 3.子窗口刷新父窗口 4.刷新以open()方法打开的窗口 5.刷新以winodw.showModelDialog()方法打开的窗口
阅读全文
摘要:后台 using Aspose.Cells;using Aspose.Slides.Pptx;using System;using System.Collections.Generic;using System.Data;using System.IO;using System.Linq;using
阅读全文
摘要://url:文件地址 filename:想要修改为的名称 function download(url, filename) { getBlob(url, function (blob) { saveAs(blob, filename); }); }; function getBlob(url, cb
阅读全文
摘要:转自群友的博客:https://www.xiaofengyu.com/?p=108 群友的github地址:https://github.com/jfwangncs/GPSConvert 各种坐标系的各种转换 public class TempGps { public double Tlng; pu
阅读全文
摘要:在判断了某个坐标点是否在多边形内后,还有另一个需求就是当我这个坐标点在多边形外部时,我需要计算这个坐标点到多边形的距离是否在一个允许的误差范围内 通过两个位置的经纬度坐标计算距离(C#版本) 转自:https://blog.csdn.net/jasonsong2008/article/details
阅读全文
摘要:let self=this; let mapResultUnread=[]; let mapResultRead=[]; let mapResult=[]; for(var i=0;i<res.mapResult.length;i++){ if(res.mapResult[i].HAS_READ==
阅读全文
摘要:排序:<th data-options="field: 'Name',width: 150,sortable:true">名称</th> sortable:true" 显示隐藏列: $('#ClassInfo_DataGrid').datagrid('showColumn', 'ClassName'
阅读全文
浙公网安备 33010602011771号