上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: js调用 阅读全文
posted @ 2013-09-27 15:35 一千零一夜 阅读(9303) 评论(0) 推荐(0) 编辑
摘要: //using Newtonsoft.Json; StringBuilder sb = new StringBuilder(); string str = "[{ID:'1',Name:'zhangsan',Other:[{Age:'111'}]}]"; JavaScriptArray javascript = (JavaScriptArray)JavaScriptConvert.DeserializeObject(str); if (javascript.Count > 0) { JavaScript... 阅读全文
posted @ 2013-09-24 10:23 一千零一夜 阅读(13786) 评论(0) 推荐(1) 编辑
摘要: using System;using System.Collections.Generic;using System.Web;using System.Drawing.Imaging;using System.Drawing;/// ///MakeThum 的摘要说明/// public class MakeThum{ public MakeThum() { // //TODO: 在此处添加构造函数逻辑 // } /// /// 生成缩略图//带压缩图片不压缩22k压缩2k /// /// 原始路径 ... 阅读全文
posted @ 2013-09-17 11:12 一千零一夜 阅读(329) 评论(0) 推荐(0) 编辑
摘要: select id,OrderID,Mobile,Name from (select id,OrderID,Mobile,Name from V_Order where len(isnull(Mobile,''))>0 and State=0) Customer where id in (select min(id) from (select id,OrderID,Mobile,Name from V_Order where len(isnull(Mobile,''))>0 and State=0) Customer group by Mobile 阅读全文
posted @ 2013-09-12 18:20 一千零一夜 阅读(474) 评论(0) 推荐(0) 编辑
摘要: public static string getUControlHtml(string controlName) { StringBuilder build = new StringBuilder(); HtmlTextWriter htmlWriter = new HtmlTextWriter(new StringWriter(build)); UserControl uc = new UserControl(); Control ctrl = uc.LoadControl(controlName + ".ascx");/... 阅读全文
posted @ 2013-08-16 11:05 一千零一夜 阅读(232) 评论(0) 推荐(0) 编辑
摘要: $("#txtId").bind("input propertychange change", function (event) { if (event.type != "propertychange" || event.originalEvent.propertyName == "value") { $(this).css({"border": "1px solid red"}); } }); 阅读全文
posted @ 2013-06-14 11:18 一千零一夜 阅读(7145) 评论(0) 推荐(0) 编辑
摘要: CommonJsonModelAnalyzer.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConvertJosn{ public class CommonJsonModelAnalyzer { protected string _GetKey(string rawjson) { if (string.IsNullOrEmpty(rawjson)) return... 阅读全文
posted @ 2013-06-07 21:04 一千零一夜 阅读(3238) 评论(0) 推荐(0) 编辑
摘要: public delegate void MyDelegate(object sender, EventArgs e); protected void Page_Load(object sender, EventArgs e) { MyDelegate md = new MyDelegate(Button1_Click); //md(Button1, null); md(Button1, new System.EventArgs()); //MyDelegate md1 = new MyDelegate(DropDownLis... 阅读全文
posted @ 2013-06-07 20:50 一千零一夜 阅读(136) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>Simple Map</title> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta charset="utf-8"> <style> html, body, #map-canvas { margin: 0; padding: 0; height: 100%; } < 阅读全文
posted @ 2013-05-30 13:26 一千零一夜 阅读(370) 评论(0) 推荐(0) 编辑
摘要: IF OBJECT_ID('tempdb..#t') IS NOT NULL DROP TABLE #t;create table #t(id int identity,Dt varchar(10));declare @starttime datetime,@endtime datetimeset @starttime = '===start==='set @endtime ='===end==='insert #tselect convert(varchar(10),dateadd(day,number,@starttime),112) dtf 阅读全文
posted @ 2013-05-14 11:23 一千零一夜 阅读(204) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页