﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-Beyond the dream——飛雪飄寒-随笔分类-C#</title><link>http://www.cnblogs.com/dreamof/category/65536.html</link><description>————磨難不過是人生鍵盤的回車。。。。。。</description><language>zh-cn</language><lastBuildDate>Wed, 24 Sep 2008 05:33:22 GMT</lastBuildDate><pubDate>Wed, 24 Sep 2008 05:33:22 GMT</pubDate><ttl>60</ttl><item><title>.net实现工作日的计算</title><link>http://www.cnblogs.com/dreamof/archive/2008/09/22/1296183.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Mon, 22 Sep 2008 12:12:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/09/22/1296183.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1296183.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/09/22/1296183.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1296183.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1296183.html</trackback:ping><description><![CDATA[摘要:      最近,在.net项目中需要实现计算两个日期间的工作日总数,下面简单介绍一下其实现过程 !
       先介绍一下计算逻辑:
       1.初始化某一年中的所有周六和周日,比如初始化2008年的所有周六、周日，存入表ConfigDate中；
     2.添加周六、周日外的其它节假日，比如国庆节、五一节、元旦等至表ConfigDate中; 
       3.查询某年某月中的所有节假日，并能对某一节假日进行设置其有效性，比如我某个周六加班，则设置该周六假日无效，实际上该天当计算的时候也是工作日；
     4.当输入开始日期和结束日期后，把开始日期至结束日期的每一天与ConfigDate表中所有有效节假日进行对比，如果没有找到则工作日总数加1；&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/09/22/1296183.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1296183.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.net实现生成及打印条形码功能</title><link>http://www.cnblogs.com/dreamof/archive/2008/09/17/1292217.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Wed, 17 Sep 2008 01:48:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/09/17/1292217.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1292217.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/09/17/1292217.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1292217.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1292217.html</trackback:ping><description><![CDATA[摘要:    .net实现生成及打印条形码功能,本文简单总结了自己的实现方法。&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/09/17/1292217.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1292217.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.net 操作XML小结</title><link>http://www.cnblogs.com/dreamof/archive/2008/08/14/1268096.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Thu, 14 Aug 2008 09:24:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/08/14/1268096.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1268096.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/08/14/1268096.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1268096.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1268096.html</trackback:ping><description><![CDATA[摘要: 一、简单介绍using System.Xml;//初始化一个xml实例XmlDocument xml=new XmlDocument();//导入指定xml文件xml.Load(path);xml.Load(HttpContext.Current.Server.MapPath("~/file/bookstore.xml"));//指定一个节点XmlNode root=xml.SelectSingleNode...
&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/08/14/1268096.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1268096.html?type=1" width = "1" height = "1" />]]></description></item><item><title>DataTable使用技巧总结</title><link>http://www.cnblogs.com/dreamof/archive/2008/07/31/1257660.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Thu, 31 Jul 2008 14:01:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/07/31/1257660.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1257660.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/07/31/1257660.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1257660.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1257660.html</trackback:ping><description><![CDATA[摘要:       在项目中经常用到DataTable,如果DataTable使用得当，不仅能使程序简洁实用，而且能够提高性能，达到事半功倍的效果，现对DataTable的使用技巧进行一下总结。
&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/07/31/1257660.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1257660.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.net使用DotNetCharting控件生成报表统计图总结 </title><link>http://www.cnblogs.com/dreamof/archive/2008/07/18/1245887.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Fri, 18 Jul 2008 03:37:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/07/18/1245887.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1245887.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/07/18/1245887.html#Feedback</comments><slash:comments>60</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1245887.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1245887.html</trackback:ping><description><![CDATA[摘要: <p><img src="http://www.cnblogs.com/images/cnblogs_com/dreamof/dotnetcharticon.jpg" align="right"/>     最近在做项目时要对数据进行统计分析，所以必须生成一些报表统计图(如柱形图、饼图、曲线图等)，网上强烈推荐了使用DotNetCharting控件来实现，于是自己对DotNetCharting控件进行了简单的学习，下面先简单介绍一下DotNetCharting控件及其使用，更为复杂的多维统计图的实现可以参照官方网站的说明！
</p>&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/07/18/1245887.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1245887.html?type=1" width = "1" height = "1" />]]></description></item><item><title>常用正则表达式总结</title><link>http://www.cnblogs.com/dreamof/archive/2008/07/11/1240817.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Fri, 11 Jul 2008 07:26:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/07/11/1240817.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1240817.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/07/11/1240817.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1240817.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1240817.html</trackback:ping><description><![CDATA[摘要:       常用正则表达式总结&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/07/11/1240817.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1240817.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.net导出word、excel等文件操作类</title><link>http://www.cnblogs.com/dreamof/archive/2008/06/24/1229069.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Tue, 24 Jun 2008 08:52:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/06/24/1229069.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1229069.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/06/24/1229069.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1229069.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1229069.html</trackback:ping><description><![CDATA[摘要:     在做.NET项目时,经常会遇到要导出文件的问题,如将DataGrid中的数据导出到word、excel文件等。下面是自己写的一个.net导出文件操作类，现把代码贴出来，以供参考，如有不当之处望予指正！
 

        &nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/06/24/1229069.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1229069.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.net调用OWC生成报表统计图总结</title><link>http://www.cnblogs.com/dreamof/archive/2008/06/19/1226227.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Thu, 19 Jun 2008 14:43:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/06/19/1226227.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1226227.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/06/19/1226227.html#Feedback</comments><slash:comments>9</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1226227.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1226227.html</trackback:ping><description><![CDATA[摘要:     这几天在做项目时要对数据进行统计分析，所以必须生成一些统计图(如柱形图、饼图、曲线图等)，于是我首先想到了微软的owc11控件，owc11控件是microsoft office 图表控件（owc10为ofiiceXP的组件、owc11为office2003的组件，组件的路径为C:\Program Files\Common Files\Microsoft Shared\Web Components\11\owc11，帮助文件的路径为C:\Program Files\Common Files\Microsoft Shared\Web Components\11\2052），调用它可以生成三维图、柱状图、饼状图、趋势图和误差图等。<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/06/19/1226227.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1226227.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.net常用函数集锦</title><link>http://www.cnblogs.com/dreamof/archive/2008/06/17/1224113.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Tue, 17 Jun 2008 08:37:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/06/17/1224113.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1224113.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/06/17/1224113.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1224113.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1224113.html</trackback:ping><description><![CDATA[摘要:     本文主要对.net常用函数的功能及使用技巧进行了总结！&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/06/17/1224113.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1224113.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.net实现导出Word、Excel格式文件</title><link>http://www.cnblogs.com/dreamof/archive/2008/06/13/1219437.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Fri, 13 Jun 2008 08:31:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/06/13/1219437.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1219437.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/06/13/1219437.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1219437.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1219437.html</trackback:ping><description><![CDATA[摘要:     在做.NET项目时,会经常遇到要导出文件的问题,如将DataGrid中的数据导出到excel、word文件等,经常使用的是Office中的OWC组件,这个组件提供的功能很强大,在一般的项目中都可以满足当前的需要.但是这个功能强大的组件使用起来却不是很方便,不但有版本的问题,而且代码量也相对比较大.现在简单介绍一下利用Respone对象和相关的IO实现导出excel/word等文件的方法。<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/06/13/1219437.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1219437.html?type=1" width = "1" height = "1" />]]></description></item><item><title>datagrid多层表头及datagrid列动态统计功能的实现</title><link>http://www.cnblogs.com/dreamof/archive/2008/06/12/1218525.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Thu, 12 Jun 2008 09:25:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/06/12/1218525.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1218525.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/06/12/1218525.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1218525.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1218525.html</trackback:ping><description><![CDATA[摘要: 主要介绍了datagrid多层表头及datagrid列动态统计功能的实现,希望能给大家带来帮助！&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/06/12/1218525.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1218525.html?type=1" width = "1" height = "1" />]]></description></item><item><title>.net数据库操作类(C#)</title><link>http://www.cnblogs.com/dreamof/archive/2008/01/22/1048199.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Tue, 22 Jan 2008 02:32:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/01/22/1048199.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1048199.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/01/22/1048199.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1048199.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1048199.html</trackback:ping><description><![CDATA[摘要: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ASP.NET中一般都是使用SQLServer作为后台数据库。一般的ASP.NET数据库操作示例程序都是使用单独的数据访问，...&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/01/22/1048199.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1048199.html?type=1" width = "1" height = "1" />]]></description></item><item><title>C#中的异常处理</title><link>http://www.cnblogs.com/dreamof/archive/2008/01/17/1042520.html</link><dc:creator>飛雪飄寒</dc:creator><author>飛雪飄寒</author><pubDate>Thu, 17 Jan 2008 02:32:00 GMT</pubDate><guid>http://www.cnblogs.com/dreamof/archive/2008/01/17/1042520.html</guid><wfw:comment>http://www.cnblogs.com/dreamof/comments/1042520.html</wfw:comment><comments>http://www.cnblogs.com/dreamof/archive/2008/01/17/1042520.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dreamof/comments/commentRss/1042520.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dreamof/services/trackbacks/1042520.html</trackback:ping><description><![CDATA[摘要: &nbsp;&nbsp;&nbsp;&nbsp;通用语言运行时（CLR）具有的一个很大的优势，异常处理是跨语言被标准化的。一个在C#中所引发的异常可以在VisualBasic客户中得到处理。不再有...&nbsp;&nbsp;<a href='http://www.cnblogs.com/dreamof/archive/2008/01/17/1042520.html'>阅读全文</a><img src ="http://www.cnblogs.com/dreamof/aggbug/1042520.html?type=1" width = "1" height = "1" />]]></description></item></channel></rss>