摘要: 下好QRCode.dll引用到项目中using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using ThoughtWorks.QRCode.Codec;using ThoughtWorks.QRCode.Codec.Data;using ThoughtWorks.QRCode.Codec.Util;using System.IO;using System.Text;namespace 阅读全文
posted @ 2013-12-12 12:10 mali0932 阅读(246) 评论(0) 推荐(0) 编辑
摘要: var mydate1 = new Date($('.stt').html());var mydate2 = new Date($('.ett').html());if (window.ActiveXObject || window.openDatabase || window.opera) {var sh = $('.stt').html().replace(' ', ' ').split(' ')[1].split(':')[0];var eh = $('.ett' 阅读全文
posted @ 2013-11-19 15:18 mali0932 阅读(157) 评论(0) 推荐(0) 编辑
摘要: DateTime.Now.ToString("yyyy年MM月dd日星期dddhh时mm分ss秒",newSystem.Globalization.CultureInfo("zh-CN")); 阅读全文
posted @ 2013-10-31 20:22 mali0932 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 客户端调用代码示例:var myurl = "http://js.yingdoo.com/embed/CAPTCHA.ashx?m=" + phone_val + ""; $.ajax({ type: "get", async: false, url: myurl, dataType: "jsonp", jsonp: "cb", jsonpCallback: "sj", success: function (js... 阅读全文
posted @ 2013-10-22 20:10 mali0932 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Order by des...destiny 阅读全文
posted @ 2013-10-22 20:09 mali0932 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 在一般事务处理页面,可以轻松的得到 Request,Response对象,从而进行相应的操作,如下:HttpRequest Request = context.Request;HttpResponse Response = context.Response;但是要得到 Session的值就没有那么简单了。比如你要在ashx得到保存在Session中的登录帐号Session["userAccount"]如果你只是context.Session["userAccount"]的话是会报 “未将对象引用设置到对象的实例”的异常所以,如果要想取Session中的值 阅读全文
posted @ 2013-10-22 20:08 mali0932 阅读(98) 评论(0) 推荐(0) 编辑