摘要: function compare_hms(a, b) { var i = a.getHours() * 60 * 60 + a.getMinutes() * 60 + a.getSeconds(); var n = b.getHours() * 60 * 60 + b.getMinutes() * ... 阅读全文
posted @ 2015-01-27 14:53 M i S s 阅读(111) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;namespace HF.SHOP.... 阅读全文
posted @ 2015-01-27 14:52 M i S s 阅读(174) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;namespace HF.SHOP.... 阅读全文
posted @ 2015-01-13 11:48 M i S s 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-09 16:52 M i S s 阅读(649) 评论(0) 推荐(0) 编辑
摘要: for (int j = 0; j < tableSku.Rows.Count; j++) { SKUContent = SKUContent + tableSku.Rows[i]["AttributeName"].ToString()+":"+tableSku.Rows[i]["ObjectVal... 阅读全文
posted @ 2014-12-24 15:36 M i S s 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 分享到 阅读全文
posted @ 2014-11-20 09:35 M i S s 阅读(520) 评论(0) 推荐(0) 编辑
摘要: //////正则表达式提取和替换内容///publicstaticstringContentextract(){stringresult="";stringstr="大家好!张三自我介绍。";Regexregex=newRegex(@"[\s\S]*?)'\s+Email='(?[\s\S]*?)'... 阅读全文
posted @ 2014-11-03 17:17 M i S s 阅读(858) 评论(0) 推荐(0) 编辑
摘要: function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if ... 阅读全文
posted @ 2014-11-03 12:01 M i S s 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 创建临时表格式:1)create table TempTableName(ID int IDENTITY (1,1) not null,a1 varchar(50),a2 varchar(50),a3 varchar(50),primary key (ID) --定义ID为临时表#Tmp的主键)2)... 阅读全文
posted @ 2014-10-23 14:15 M i S s 阅读(1357) 评论(0) 推荐(0) 编辑
摘要: //保存商品属性 function Attributesnext() { //循环获取属性集值和属性文本框值后保存到数据库的Json var attributesInfo = "["; var data = $("#hideattributesInfo").val(); data = data... 阅读全文
posted @ 2014-09-29 17:09 M i S s 阅读(343) 评论(0) 推荐(0) 编辑