摘要: 目前由于许多用户都将电话升级到了iOS系统,苹果的iOS 10已经正式对外推送,相信很多用户已经更新到了最新的系统。然而,如果web站没有及时支持https协议的话,当很多用户在iOS 10下访问很多网站时,会发现都无法进行正常精确定位,导致部分网站的周边推荐服务无法正常使用。为何在iOS 10下无 阅读全文
posted @ 2017-01-05 14:58 方金 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 我的图片处理 阅读全文
posted @ 2017-01-04 19:16 方金 阅读(2402) 评论(0) 推荐(0) 编辑
摘要: /// /// 生成二维码 ! /// /// public static void GetQode(HttpContext context) { string url = context.Request["url"]; string Newurl = Http... 阅读全文
posted @ 2016-11-30 10:07 方金 阅读(1433) 评论(0) 推荐(0) 编辑
摘要: public class QRCodeHelper { #region 合并用户QR图片和用户头像 /// /// 合并用户QR图片和用户头像 /// /// QR图片 /// 用户头像 /// 缩放比例 /// publ... 阅读全文
posted @ 2016-11-30 10:04 方金 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: /// /// /// 字符串转Unicode /// /// 源字符串 /// Unicode编码后的字符串 public static string String2Unicode(string source) { byte[]... 阅读全文
posted @ 2016-11-15 18:52 方金 阅读(884) 评论(0) 推荐(0) 编辑
摘要: /// /// Hashtable字典排序 /// /// /// /// public static string formatParameters(Hashtable parameters, Boolean encode) { StringBui... 阅读全文
posted @ 2016-11-07 14:44 方金 阅读(28585) 评论(0) 推荐(2) 编辑
摘要: SELECT * FROM ( select a.name TABLENAME,b.name FIELDNAME,c.name FIELDTYPE,c.length FIELDLENGTH from sysobjects a,syscolumns b,systypes c where a.id=b.id and a.name='SYS_EXCEL' and a.xtype='U' and b... 阅读全文
posted @ 2016-10-18 17:13 方金 阅读(305) 评论(0) 推荐(0) 编辑
摘要: //读Cookie function getCookie(objName) {//获取指定名称的cookie的值 var arrStr = document.cookie.split("; "); for (var i = 0; i < arrStr.length; i++) { var temp = arrStr[i].split("="); i... 阅读全文
posted @ 2016-10-12 17:57 方金 阅读(5790) 评论(0) 推荐(0) 编辑
摘要: --通过经纬度计算两点之间的距离 create FUNCTION [dbo].[fnGetDistanceNew] --LatBegin 开始经度 --LngBegin 开始维度 --29.490295,106.486654,29.615467, 106.581515 (@LatBegin1 varchar(128), @LngBegin1 varchar(128),@loc... 阅读全文
posted @ 2016-10-11 13:25 方金 阅读(3129) 评论(0) 推荐(0) 编辑
摘要: 1 -- 表加注释 2 EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'注释内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'表名' 3 --例如: 4 EXEC sys.sp_addextende... 阅读全文
posted @ 2016-09-23 17:40 方金 阅读(4094) 评论(0) 推荐(0) 编辑