上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页
摘要: JS代码: ASP.NET MVC后台代码: 阅读全文
posted @ 2016-03-24 11:47 0611163 阅读(436) 评论(0) 推荐(0) 编辑
摘要: HTTP请求工具类(功能:1、获取网页html;2、下载网络图片;): using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using Sy 阅读全文
posted @ 2016-01-30 10:47 0611163 阅读(2389) 评论(10) 推荐(6) 编辑
摘要: 需求:1、点击“关闭”按钮时,程序最小化到托盘,并没有退出,这时再次运行程序,不会重复运行,而是显示已运行的程序;2、支持不同目录;3、支持修改名称。 代码(不支持修改名称,不支持不同目录): using System; using System.Collections.Generic; using 阅读全文
posted @ 2016-01-26 09:04 0611163 阅读(1291) 评论(4) 推荐(0) 编辑
摘要: zDialog插件网址:http://www.jq22.com/jquery-info2426 再次封装zDialog的代码:(function ($) { $.extend({ iDialog: function (param) { var diag... 阅读全文
posted @ 2016-01-13 23:12 0611163 阅读(1603) 评论(0) 推荐(0) 编辑
摘要: 例如要清除键为abc的cookie:document.cookie = "abc=0;expires=" + new Date().toUTCString(); 阅读全文
posted @ 2016-01-11 16:23 0611163 阅读(2537) 评论(0) 推荐(0) 编辑
摘要: 代码:using System;using System.Collections.Generic;using System.Linq;using System.Security.Cryptography;using System.Text;using System.Threading.Tasks;n... 阅读全文
posted @ 2015-12-24 16:30 0611163 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 代码:using System;using System.Collections.Generic;using System.Configuration;using System.Linq;using System.Net.Mail;using System.Text;namespace Common... 阅读全文
posted @ 2015-12-09 16:42 0611163 阅读(484) 评论(4) 推荐(0) 编辑
摘要: 1、除了引用jQuery和zTree的JS外,引用cookie的JS: 2、JS代码:$(function () { //ztree设置 var setting = { data: { simpleData: { e... 阅读全文
posted @ 2015-12-09 13:47 0611163 阅读(1409) 评论(0) 推荐(0) 编辑
摘要: 思路:取表单值以及printkey属性标记的html内容,批量替换模板中的内容。模板设置页面代码:@{ ViewBag.Title = "PrintSet"; Layout = "~/Views/Shared/_Layout.cshtml"; Suya.Auth.Contract.... 阅读全文
posted @ 2015-10-16 17:31 0611163 阅读(5664) 评论(12) 推荐(2) 编辑
摘要: 将如下代码添加到页面:View CodeJS代码://打印var LODOP;function printPage(areaId) { LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('... 阅读全文
posted @ 2015-09-22 17:05 0611163 阅读(1058) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页