摘要: String link ="www.baidu.com";//这里一般是一个链接 封装后的方法,直接调用就可以了 public void CreateQRCode(string content) { var qrCodeEncoder = new QRCodeEncoder { QRCodeEnco 阅读全文
posted @ 2017-01-06 15:21 小A爱吧 阅读(132) 评论(0) 推荐(0) 编辑
摘要: select distinct username,quantity from Student where isnull(username,'')<>'' and p_id = {1} 阅读全文
posted @ 2016-12-19 16:29 小A爱吧 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 这里的图标可以自己定义 网址:https://icomoon.io/app/#/select/ 定义完后,自己下载下来 引用: <link href="css/style.css" rel="stylesheet" /> 这个样式就可以直接使用 例如: <a class="icon-user-tie 阅读全文
posted @ 2016-12-16 10:10 小A爱吧 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 其实就是根据经纬度来计算最短的距离 <nav onclick="TabControl_Either_Go();" style="right:0%;"> <div> <img id="goGo_id" src="Pics/Go.png" alt="上门" /> <p id="titleGo_id">到 阅读全文
posted @ 2016-12-15 11:06 小A爱吧 阅读(198) 评论(0) 推荐(0) 编辑
摘要: var array=new Array(); array.push(值); //向数组中添加值 array.shift(值);//向数组中移除值 阅读全文
posted @ 2016-11-03 11:18 小A爱吧 阅读(2150) 评论(0) 推荐(0) 编辑
摘要: 这个问题主要原因是因电脑装了vs2008又装了vs2012,因为版本不一样,所以只需要将VersionControl.config这个文件删除掉就可以了。文件路径C:\Users\Administrator\AppData\Local\Microsoft\Team Foundation\4.0\Ca 阅读全文
posted @ 2016-10-25 15:14 小A爱吧 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 这个多个文件下载生成zip格式必须先引用一个ICSharpCode.SharpZipLib.dll。 代码如下 //将多个文件打包成压缩文件zip格式下载 protected void PkgDownload(IEnumerable<string> files, string zipFileName 阅读全文
posted @ 2016-10-24 10:47 小A爱吧 阅读(937) 评论(0) 推荐(0) 编辑
摘要: mvc中当返回的字符带有html代码的时候,可以直接使用@Html.Raw(Model.description)这句代码的意思就是返回不是html编码,因此用了这句代码就不需要单独再转换一次 阅读全文
posted @ 2016-10-14 14:16 小A爱吧 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1、将关键字加入cookie缓存中 /// <summary> /// 添加搜索关键字 /// </summary> /// <param name="keyWord"></param> private void addKeyWord(string keyWord) { keyWord = keyW 阅读全文
posted @ 2016-09-12 16:24 小A爱吧 阅读(912) 评论(0) 推荐(0) 编辑
摘要: --创建insert插入类型触发器 if (object_id('tgr_product_insert', 'tr') is not null) drop trigger tgr_product_insert go create trigger tgr_product_insert on produ 阅读全文
posted @ 2016-09-07 10:31 小A爱吧 阅读(153) 评论(0) 推荐(0) 编辑