上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 让IE6 IE7 IE8 IE9 IE10 IE11支持Bootstrap的解决方法 最近做一个Web网站,之前一直觉得bootstrap非常好,这次使用了bootstrap3,在chrome,firefox,safari,opera,360浏览器(极速模式)、搜狗浏览器等浏览器下均没有问题,而在I 阅读全文
posted @ 2017-08-16 10:33 行走在0和1之间 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 排查网站打开速度慢的原因: 1 网站服务器速度或租用空间所在服务器速度 服务器空间速度是网站打开速度快的硬件基础,也是先决条件。否则即使你网站页面设计的非常"苗条",网站打开速度也会打折扣。解决办法:要找你的空间商解决或换空间商。 如何检测服务器速度快慢呢? 方法一: ping命令看连接到服务器的时 阅读全文
posted @ 2017-08-16 10:32 行走在0和1之间 阅读(891) 评论(0) 推荐(0) 编辑
摘要: .net分页方法 //记录分页的总条数 DX.Model.Container.PagerDataContainer Container = new DX.Model.Container.PagerDataContainer(); int ActualPageSize = PageSize; #reg 阅读全文
posted @ 2017-08-16 10:30 行走在0和1之间 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 保存: Response.Cookies["OpenID"].Value = wxobj.openid; Response.Cookies["NickName"].Value = HttpUtility.UrlEncode(wxobj.nickname); Response.Cookies["hea 阅读全文
posted @ 2017-08-16 10:28 行走在0和1之间 阅读(136) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Syste 阅读全文
posted @ 2017-08-16 10:07 行走在0和1之间 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 哈希算法的基本操作: 1. 哈希表(HashTable)简述 在.NET Framework中,Hashtable是System.Collections命名空间提供的一个容器,用于处理和表现类似keyvalue的键值对,其中key通常可用来快速查找,同时key是区分大小写;value用于存储对应于k 阅读全文
posted @ 2017-08-16 10:07 行走在0和1之间 阅读(473) 评论(0) 推荐(0) 编辑
摘要: //在C#中 //图片到byte[]再到base64string的转换: Bitmap bmp = new Bitmap(filepath); MemoryStream ms = new MemoryStream(); bmp.Save(ms, System.Drawing.Imaging.Imag 阅读全文
posted @ 2017-08-16 09:52 行走在0和1之间 阅读(3733) 评论(0) 推荐(0) 编辑
摘要: public byte[] InsertByte(string dx) { List<byte> temp = new List<byte>(); byte[] b= Encoding.UTF8.GetBytes(dx); byte[] bb = new byte[2] {00,00}; temp. 阅读全文
posted @ 2017-08-16 09:44 行走在0和1之间 阅读(1496) 评论(0) 推荐(0) 编辑
摘要: string name = Request.Form["Name1"].ToString(); “xxx” 里的是name值 Request["xx"]取到相同的name可以直接找到哪个被选中 阅读全文
posted @ 2017-08-16 09:43 行走在0和1之间 阅读(242) 评论(0) 推荐(0) 编辑
摘要: public static void UTF8RemoveBOM(string filepath) { UTF8RemoveBOM(filepath, filepath); } public static void UTF8RemoveBOM(string filepath, string save 阅读全文
posted @ 2017-08-16 09:42 行走在0和1之间 阅读(380) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页