卡拉奇

我想回老家休息!还是家里的饭饭好吃!
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年7月29日

摘要: ext4默认都是没办法选文字复制的,EXT3可以很快解决这个问题,可是EXT4找了好久都没有找到。把官方都搜索遍也没有;第一感觉是样式改下应该可以吧,.x-selectable, .x-selectable * {-moz-user-select:text!important;-khtml-user-select:text!important;-webkit-user-select:text!important;} 还是一样的不行;第二找到一代码Ext.view.TableChunker.metaRowTpl = [ '<tr class="' + Ext.ba 阅读全文

posted @ 2011-07-29 11:17 pic_name 阅读(691) 评论(0) 推荐(0)

2011年1月3日

摘要: 本来采用uft-8,在导出csv里出现用excel打开乱码的问题,用 notepad打开,发现文件中的内容没有乱码,看编码是uft-8无BOM;手动转为有BOM的uft-8后,用excel打开就正常了;所以要导出的文件正常打开,就要导入有BOM的文件;有BOM以0xEF;0xBB;0xBF; 开头;C#byte[] buffer = System.Text.Encoding.GetEncoding("utf-8").GetBytes(str); Response.AppendHeader("Content-Disposition", "attachment;filename=\"截止" + t 阅读全文

posted @ 2011-01-03 16:02 pic_name 阅读(2842) 评论(3) 推荐(1)

2010年8月31日

摘要: 增加表结构代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--SETANSI_NULLSONGOSETQUOTED_IDENTIFIERONGOCREATETABLE[dbo].[sys_Area]([ID][int]IDENTITY(1,1)NOT... 阅读全文

posted @ 2010-08-31 13:14 pic_name 阅读(290) 评论(0) 推荐(0)

2010年8月27日

摘要: 永久链接: http://mingchong2882.javaeye.com/blog/749278Ext真的强大,所以选择来做后台,在做一个权限时发现了一个问题,也不知道是不是BUG,如果有遇到同样的问题,请指教,3Q 在说明问题之前,先说下我怎么写的Ext,我做采用JS调用,所有JS都是动态加载,就是菜单点击时才加载一个JS(通过网上的Ext.ux.JSLoader,小有改动);动态加载的好处... 阅读全文

posted @ 2010-08-27 19:25 pic_name 阅读(1177) 评论(0) 推荐(0)

2007年6月4日

摘要: Select()是提取数据库的数据的方法,采用第一次从数据库提取,之后缓存起来并从缓存中提取数据;下面是将它赋给一个实体集合hc_MaterialCategory;hc_MaterialCategory的结构就是get set;public static List<hc_MaterialCategory> Select(string sortExpression) { string k... 阅读全文

posted @ 2007-06-04 09:13 pic_name 阅读(287) 评论(0) 推荐(0)

2006年11月18日

摘要: 在Global里的Application_BeginRequest加protected void Application_BeginRequest(Object sender, EventArgs e){Response.Filter = new FontcConversion(Response.Filter);}增加一个类usingSystem;usingSystem.Text;usingSystem.Text.RegularExpressions;usingSystem.IO;usingSystem.Web;/**////summary///CG2BFilter的摘要说明////su 阅读全文

posted @ 2006-11-18 14:12 pic_name 阅读(323) 评论(0) 推荐(0)

2006年11月17日

摘要: 这是http://www.cnblogs.com/pwqzc/archive/2005/11/21/281331.aspx那里改过来的,虽然重写可以,但是如果在重写的页面上提交服务事件就不行了。希望有兴趣的朋友,帮助再修改或有更好的实现方法! 系统不一样,最好对应上面的代码修改 if (context.Request.Url.Port != 80) hostName = context.Request.Url.Host + ":" + context.Request.Url.Port.ToString(); else hostName = context.Request.Url.Host; 阅读全文

posted @ 2006-11-17 17:42 pic_name 阅读(897) 评论(0) 推荐(0)

摘要: usingSystem;usingSystem.Web;usingSystem.Collections;namespacetest.binary{/**////<summary>///Class1的摘要说明。///</summary>publicclassBlogSiteSettings{privateHashtableblogsettings=newHashtable()... 阅读全文

posted @ 2006-11-17 17:35 pic_name 阅读(332) 评论(0) 推荐(0)

2006年9月16日

摘要: usingSystem;usingSystem.Collections;usingSystem.Collections.Specialized;usingSystem.IO;usingSystem.Runtime.Serialization.Formatters.Binary;namespacetest{/**////<summary>///User的摘要说明。///</summ... 阅读全文

posted @ 2006-09-16 12:06 pic_name 阅读(362) 评论(1) 推荐(0)

摘要: 首先要有一个www.xxx.com的域名建两个站点,aa.xxx.com.bb.xxx.com两个的登录基本上是一样的,其实就是Domain = ".kibo.cn"的作用.CREATE TABLE [dbo].[users] ([uid] [int] IDENTITY (1, 1) NOT NULL ,[UserName] [varchar] (50) COLLATE Chinese_PRC_C... 阅读全文

posted @ 2006-09-16 12:03 pic_name 阅读(474) 评论(0) 推荐(0)