上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 157 下一页

2013年9月6日

[转]利用 NPOI 變更字體尺寸及樣式

摘要: 本文转自:http://blog.cscworm.net/?p=1650利用 NPOI 變更字體尺寸及樣式:123456789101112131415161718192021222324252627282930313233343536HSSFWorkbook workbook = new HSSFWorkbook();HSSFSheet sheet = (HSSFSheet)workbook.CreateSheet("工作表名稱");HSSFRow Row = (HSSFRow)sheet.CreateRow(0);Row.CreateCell(0).SetCellValu 阅读全文

posted @ 2013-09-06 08:35 freeliver54 阅读(3843) 评论(0) 推荐(1)

2013年9月5日

[转]关于IIS7.5下的web.config 404 配置的一些问题

摘要: 本文转自:http://www.codesky.net/article/201103/161589.html本文介绍一个关于IIS环境下web.config配置的经验问题。在IIS7.5中添加配置404页面时遇到了一些问题,记录如下:一开始在下的节点配置404不起作用,由于程序运行在IIS7.5集成模式下,经过MSDN和GOOGLE,发现需要在节点中配置,我们知道节点是iis7.0之前版本的主要配置节点,由于在II7.0以后IIS管道处理与ASP.NET管道处理进行了集成,这样提高了ASP.NET的处理性能,具体这方面的资料请GOOGLE,问题随之而来,新增加的节点中需要进行哪些修改以程序在I 阅读全文

posted @ 2013-09-05 19:01 freeliver54 阅读(12403) 评论(3) 推荐(2)

2013年9月4日

[转]让ORACLE LIKE 时不区分大小写

摘要: 本文转自:http://hi.baidu.com/dosttyy/item/9073803df47ef9f62784f49a让ORACLE LIKE 时不区分大小写: select * from tbcs.sp_business_order t where regexp_like(t.business_id ,'webwlan','i');REGEXP_LIKE( 字符串或者某字段, 正则表达式, [ 检索模式])REGEXP_LIKE 与LIKE一样,进行模式匹配。一旦从检索对象字符串中与正则表达式相匹配,则返回TRUE,不匹配,则返回FALSE。检索模式 i 阅读全文

posted @ 2013-09-04 13:49 freeliver54 阅读(1337) 评论(1) 推荐(0)

2013年9月3日

[转]javascript js cookie的存储,获取和删除

摘要: 本文转自:http://www.jb51.net/article/13240.htm使用方法://1、存储Cookie//2、参数说明: 1、参数1:Cookie存储Name,参数2:Cookie要存储的值//3、例子如下:setCookie('Method',match);//1、获取Cookie//2、参数说明: 1、参数1:Cookie存储的Name//3、例子如下:getCookie('Method')//1、删除Cookie//2、参数说明: 1、参数1:Cookie存储的Name//3、例子如下:deleteCookie('Method 阅读全文

posted @ 2013-09-03 18:39 freeliver54 阅读(209) 评论(0) 推荐(0)

[转]FireFox与IE 下js兼容触发click事件的代码

摘要: 本文转自:http://www.jb51.net/article/16549.htmFireFox与IE 下js兼容触发click事件 ,对于需要兼容这两者的朋友,就需要参考下下面的代码了 阅读全文

posted @ 2013-09-03 18:11 freeliver54 阅读(335) 评论(0) 推荐(0)

2013年8月28日

[转]Oracle 多行的数据合并

摘要: 本文转自:http://www.2cto.com/database/201203/125287.htmlOracle合并行范例现有如下数据id name1 a12 a23 a31 b13 b31 c1就是把相同的id的不同行合并结果是id name1 a1/b1/c12 a23 a3/b3实现:适用8i以后的:Sql代码--适用8i以后的 www.2cto.com SELECT t.id id, MAX(substr(sys_connect_by_path(t.name, '/'), 2)) str FROM (SELECT id, name, row_number() ove 阅读全文

posted @ 2013-08-28 18:23 freeliver54 阅读(511) 评论(0) 推荐(1)

2013年8月27日

[转]通过继承ConfigurationSection,在web.config中增加自定义配置

摘要: 本文转自:http://www.blue1000.com/bkhtml/2008-02/55810.htm前几天写了一篇使用IConfigurationSectionHandler在web.config中增加自定义配置,然后看到有回复说IConfigurationSectionHandler在2.0时代被弃用了,推荐使用ConfigurationSection,不敢怠慢,赶紧看看ConfigurationSecion是如何使用的。 1. 实现目的 我希望在web.config中,配置网站信息,管理员信息,和用户信息(当然这个配置有点不切实际了,这里只是为了演示),所以,我希望按下面的格式做配. 阅读全文

posted @ 2013-08-27 11:26 freeliver54 阅读(283) 评论(1) 推荐(0)

[转].net自定义configSections的5个示例

摘要: 本文转自:http://www.yongfa365.com/item/configuration-configSections-SingleTagSectionHandler-DictionarySectionHandler-NameValueSectionHandler.html view plaincopy to clipboardprint?using System;using Syste... 阅读全文

posted @ 2013-08-27 10:00 freeliver54 阅读(362) 评论(0) 推荐(0)

[转]Microsoft Solutions Framework (MSF) Overview

摘要: 本文转自:http://msdn.microsoft.com/zh-CN/library/jj161047(v=vs.120).aspx[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]The Microsoft Solutions Framework (MSF) is an adaptable approach for successfully delivering technology 阅读全文

posted @ 2013-08-27 08:52 freeliver54 阅读(449) 评论(0) 推荐(0)

[转]How to convert IP address to country name

摘要: 本文转自:http://www.codeproject.com/Articles/28363/How-to-convert-IP-address-to-country-nameDownload source code - 1.11 MBHow to retrieve a visitor's IP addressEvery visitor to your site or web application has an IP address. It is quite handy to be able to get that address. It can be used for securi 阅读全文

posted @ 2013-08-27 08:48 freeliver54 阅读(1054) 评论(0) 推荐(0)

2013年8月21日

VB.net 字符串 分割 及 重新倒序组装

摘要: ''' ''' split with ">>>>" , and inverted order ''' ''' 123>>>>abc>>>>456 ''' 456 > abc > 123 ''' Protected Function transGroupNamePath(ByVal groupNamePath As String) As String 阅读全文

posted @ 2013-08-21 14:40 freeliver54 阅读(1746) 评论(0) 推荐(0)

[转]设置背景图自适应大小

摘要: 转自:http://wyz.67ge.com/css-autosize-background-image/突然有人问我这个问题,说网上CSS filter的方法在非IE浏览器下不奏效。思考之后,问题之外让我感慨万千啊,很多我们所谓的难题,都会随着时代的发展迎刃而解,或被新的问题所取代。当CSS背景图片拉伸这个问题产生时,CSS3也只是浮云....对于IE而言网上常见的方法是使用CSS滤镜,但那时Firefox还小,Chrome还没出生,IE称霸天下....。但如今,我们用三四行简短的代码就能实现全浏览器兼容的方法:[css].bg{ background:url(http://wyz.67ge 阅读全文

posted @ 2013-08-21 14:39 freeliver54 阅读(722) 评论(0) 推荐(0)

2013年8月19日

vb.net Linq 筛选(像 select distinct) DateTable 日期数据中的年份

摘要: Private Sub initDDLByYear(ByVal dt As DataTable) ddlByYear.Items.Clear() ddlByYear.Items.Add(New ListItem(GetGlobalResourceObject("Resource1", "All"), "0")) If Not dt Is Nothing Then Dim years = (From r In dt.AsEnumerable Select DateTime.Parse(r... 阅读全文

posted @ 2013-08-19 13:53 freeliver54 阅读(2305) 评论(0) 推荐(0)

2013年8月14日

MasterPage 变化了的 ClientID ctl00_

摘要: 在母版页的服务器端控件 其客户端ID 有时候是多变的 会对javascript jquery的内容获取 造成困扰比如一个控件: 比如在某些开发环境下 MainContent_lblNavPathMenu而在某些发布部署到IIS的环境下 ctl00_MainContent_lblNavPathMenu为了使ClientID 可控 可以使用ClientIDMode 属性设置注意<asp:ContentPlaceHolder ID="MainContent"的设置 会对其下内容页面的控件ID产生影响 阅读全文

posted @ 2013-08-14 11:04 freeliver54 阅读(599) 评论(0) 推荐(0)

2013年8月12日

vb.net 使用 Regex Replace 正则 替换 Html字串的table中tbody第一个tr下的td为th

摘要: 本次示例效果如下:TextBox1中输入如下字符串:12111a2b343c4d点击按钮, 转换第一个tr下面的td为tr 将TextBox1中的table中第一个tr下面的td 转换成th ,将结果显示在TextBox2中12111a2b343c4d转换第一个tr下面的tr为td 将TextBox2中的table中第一个tr下面的th 转换成td ,将结果显示在TextBox3中12111a2b343c4d相关代码如下:Imports System.Text.RegularExpressions Public Class Form1 Private Sub Button1_Click(... 阅读全文

posted @ 2013-08-12 16:22 freeliver54 阅读(3914) 评论(0) 推荐(0)

2013年8月6日

[转].NET进阶系列之一:C#正则表达式整理备忘

摘要: 本文转自:http://www.cnblogs.com/KissKnife/archive/2008/03/23/1118423.html有一段时间,正则表达式学习很火热很潮流,当时在CSDN一天就能看到好几个正则表达式的帖子,那段时间借助论坛以及Wrox Press出版的《C#字符串和正则表达式参考手册》学习了一些基础的知识,同时也为我在CSDN大概赚了1000分,今天想起来,去找《C#字符串和正则表达式参考手册》时,已经不知所踪了。现在用到正则的时候也比较少,把以前的笔记等整理一下,以志不忘。(1)“@”符号 符下两ows表研究室的火热,当晨在“@”虽然并非C#正则表达式的“成员”,但是它 阅读全文

posted @ 2013-08-06 18:18 freeliver54 阅读(322) 评论(0) 推荐(0)

[转]Using Replacement Strings with Regex.Replace

摘要: 本文转自:http://www.knowdotnet.com/articles/regereplacementstrings.htmlThe String.Replace function has been a valuable tool for years, allowing programmers to change strings by replacing a specific substring with another substring. While this is usually enough, the Regex.Replace function goes a step (o. 阅读全文

posted @ 2013-08-06 14:01 freeliver54 阅读(349) 评论(0) 推荐(0)

2013年7月31日

[转]JS 只能输入数字和两位小数的JS

摘要: 本文转自:http://blog.sina.com.cn/s/blog_724008890101dgep.htmlJS代码:HTML代码:元 阅读全文

posted @ 2013-07-31 16:04 freeliver54 阅读(307) 评论(0) 推荐(0)

2013年7月24日

[转]在 Windows Server 2012 上安装 IIS 8

摘要: 本文转自:http://www.starland.net.cn/blog/view/158/1.aspx本文译自:http://learn.iis.net/page.aspx/1088/installing-iis-8-on-windows-server-2012/robmcm 发布于2012年2月29日,2012年5月25日更新 Windows Server 2012 中的“服务器管理器”(Server Manager)是新的、根据用户体验作了改进。以下的详解并非是安装 IIS 的唯一步骤。它只是帮助 IIS 用户能快速通过新的“服务器管理器”的导航完成工作。缺省设置下 IIS 8 的安装要 阅读全文

posted @ 2013-07-24 19:29 freeliver54 阅读(2323) 评论(0) 推荐(0)

[转]Install Windows Server 2012 in VMware Workstation

摘要: 本文转自:http://kb4you.wordpress.com/2012/06/28/install-windows-server-2012-in-vmware-workstation-2/This procedure describes how to install Windows Server 2012 in VMware Workstation. The following versions are used:VMware Workstation Technology Preview 2012 e.x.p Build-646643Windows Server 2012 Release 阅读全文

posted @ 2013-07-24 17:51 freeliver54 阅读(520) 评论(0) 推荐(0)

上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 157 下一页

导航