摘要:
String link ="www.baidu.com";//这里一般是一个链接 封装后的方法,直接调用就可以了 public void CreateQRCode(string content) { var qrCodeEncoder = new QRCodeEncoder { QRCodeEnco 阅读全文
摘要:
select distinct username,quantity from Student where isnull(username,'')<>'' and p_id = {1} 阅读全文
摘要:
这里的图标可以自己定义 网址:https://icomoon.io/app/#/select/ 定义完后,自己下载下来 引用: <link href="css/style.css" rel="stylesheet" /> 这个样式就可以直接使用 例如: <a class="icon-user-tie 阅读全文
摘要:
其实就是根据经纬度来计算最短的距离 <nav onclick="TabControl_Either_Go();" style="right:0%;"> <div> <img id="goGo_id" src="Pics/Go.png" alt="上门" /> <p id="titleGo_id">到 阅读全文
摘要:
var array=new Array(); array.push(值); //向数组中添加值 array.shift(值);//向数组中移除值 阅读全文
摘要:
这个问题主要原因是因电脑装了vs2008又装了vs2012,因为版本不一样,所以只需要将VersionControl.config这个文件删除掉就可以了。文件路径C:\Users\Administrator\AppData\Local\Microsoft\Team Foundation\4.0\Ca 阅读全文
摘要:
这个多个文件下载生成zip格式必须先引用一个ICSharpCode.SharpZipLib.dll。 代码如下 //将多个文件打包成压缩文件zip格式下载 protected void PkgDownload(IEnumerable<string> files, string zipFileName 阅读全文
摘要:
mvc中当返回的字符带有html代码的时候,可以直接使用@Html.Raw(Model.description)这句代码的意思就是返回不是html编码,因此用了这句代码就不需要单独再转换一次 阅读全文
摘要:
1、将关键字加入cookie缓存中 /// <summary> /// 添加搜索关键字 /// </summary> /// <param name="keyWord"></param> private void addKeyWord(string keyWord) { keyWord = keyW 阅读全文