摘要:
主要原因:Oracle客户端的字符集与服务器端不匹配,需要更改客户端(instant client)或者服务器端的字符集在SQL Developer中查询服务器端的字符集:select userenv('language') from dual;结果:因此只要在客户端设置同样的字符集即可。1. 对于Windows,在用户环境变量中设置NLS_LANG变量即可:2. 对于Linux,在.bash_profile中设置NLS_LANG变量即可:NLS_LANG = "SIMPLIFIED CHINESE_CHINA.AL32UTF8"export NLS_LAN 阅读全文
摘要:
/* * HTTPGet.cs | C# .NET 2.0 HTTP GET Class * Copyright (c) 2008, Corey Goldberg * * HTTPGet.cs is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Licen... 阅读全文
摘要:
微软在公开提供 Windows8 消费者预览版下载的同时,也发布了最新的 Visual Studio 11 Beta 版和 .NET Framework 4.5 Beta 版了!当然,VS11应该是内部版本号,到时的正式版不出意外应该叫做 VS2012 的。Visual Studio 是微软公司推出的软件开发环境,Visual Studio 11 可以用来开发 Windows 平台 (包括最新的Win8) 下的 应用程序和网络应用程序,也可以用来创建网络服务、智能设备应用程序和 Office 插件。它将为帮助跨部门团队更好的协作,更加高效快捷完成各种开发目标……Visual Studio 11 阅读全文
摘要:
排名函数是SQL Server2005新加的功能。在SQL Server2005中有如下四个排名函数row_number、rank、dense_rank和ntile,需要的朋友可以参考下。排名函数是SQL Server2005新加的功能。在SQL Server2005中有如下四个排名函数: 1.row_number 2.rank 3.dense_rank 4.ntile 下面分别介绍一下这四个排名函数的功能及用法。在介绍之前假设有一个t_table表,表结构与表中的数据如图1所示: 图1 其中field1字段的类型是int,field2字段的类型是varchar 一、row... 阅读全文
摘要:
代码 阅读全文
摘要:
一、在服务器上指定aspx网页,生成html静态页代码二、在服务器上执行aspx网页时在page_render事件里将本页面生成html静态页代码三、从指定连接获取源代码生成html静态页代码 阅读全文
摘要:
Web browser caching SWFs, likeother documents and media retrieved by a Web browser, are often saved,or cached, locally on the user's hard drive. The next time that mediais requested the Web browser m... 阅读全文
摘要:
Segments属性将会返回一个以“/”为分隔的URL数组,这个URL数组同时也是来自absolute path例如:Absolute URI http://www.contoso.com/Chapters/Chapter1/Sections/Section1.htmAbsolute path /Chapters/Chapter1/Sections/Section1.htm... 阅读全文
摘要:
第一种方式,直接使用DataSet:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--SqlConnection conn = new SqlConnection();conn.ConnectionString = "Server=127.0.0.1... 阅读全文
摘要:
最近一个项目中使用jquery的.ajax,在IE7和FF3下没有问题,可IE6老是崩溃,“J.readyState为空或不是对象”,可能是IE6的性能问题(因为ajax的内容比较多,而且是多个ajax请求),项目时间很紧,没有时间再去单独写ajax了,于是想到从服务器端区分IE版本,如果是IE6的话直接屏蔽ajax。下面是在.Net中判断客户端浏览器信息的相关代码。代码C... 阅读全文