摘要: 首先是刷新本页面,这个最简单,方法有以下几种: 调用就像样子的:onclick="window.location.reload()";一、在框架模板内刷新页面:先来看一个简单的例子: 下面以三个页面分别命名为frame.html、top.html、bottom.html为例来具体说明如何做。 fra 阅读全文
posted @ 2017-07-06 10:50 Cein 阅读(611) 评论(0) 推荐(0) 编辑
摘要: 官网 bootstrap的弹出框 阅读全文
posted @ 2017-07-05 18:44 Cein 阅读(5249) 评论(0) 推荐(0) 编辑
摘要: 1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>jQuery UI 滑块(Slider) - 颜色选择器</title> 6 <link rel="stylesheet" href="// 阅读全文
posted @ 2017-07-05 17:51 Cein 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 一个JS插件,用于钉住某个元素,结合Bootstrap,很好用,就偷一下懒 官网 博客1 博客2 阅读全文
posted @ 2017-07-05 17:43 Cein 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 我们在利用SqlBlukcopy技术倒2010 或者2007格式的文件到SqlServer 数据库的时候,会发生如下错误: 原因如下: 1.在用SQL SERVER 2005访问.xlsx文件(office2007&2010文件格式)时,必须用provider 'Microsoft.ACE.OLED 阅读全文
posted @ 2017-06-30 13:06 Cein 阅读(1446) 评论(0) 推荐(0) 编辑
摘要: 1).获取缓存值 object o = HttpRuntime.Cache.Get("Key"); 2).设置相对过期缓存值有两种写法 第一种: HttpRuntime.Cache.Insert("Key", "Value", null, System.Web.Caching.Cache.NoAbsoluteExpiration, TimeSpan.FromSeconds(30)); 第二种: ... 阅读全文
posted @ 2017-06-30 11:09 Cein 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1 Dictionary list=new Dictionary; 2 3 foreach(var item in list) 4 { 5 Console.WriteLine(item.Key+item.Value); 6 } 7 //KeyValuePair 8 foreach(KeyValuePair kv in list) 9 { 10 Console.WriteLin... 阅读全文
posted @ 2017-06-30 11:08 Cein 阅读(247) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-06-27 22:44 Cein 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-06-27 22:42 Cein 阅读(1) 评论(0) 推荐(0) 编辑
摘要: jQuery为开发插件提拱了两个方法,分别是: jQuery.fn.extend(object); jQuery.extend(object); jQuery.extend(object);为扩展jQuery类本身.为类添加新的方法。 jQuery.fn.extend(object);给jQuery 阅读全文
posted @ 2017-06-27 11:51 Cein 阅读(232) 评论(0) 推荐(0) 编辑