<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>小儒.NET - Visual C#</title><link>http://blog.csdn.net/jinru2560/category/164866.aspx</link><description>Microsoft Visual Studio</description><dc:language>zh-CN</dc:language><lastUpdateTime>Tue, 22 Apr 2008 16:24:32 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>小儒</dc:creator><title>安装C# Windows服务程序</title><link>http://blog.csdn.net/jinru2560/archive/2008/04/22/2314416.aspx</link><pubDate>Tue, 22 Apr 2008 12:20:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2008/04/22/2314416.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/2314416.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2008/04/22/2314416.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/2314416.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2314416</trackback:ping><description>安装C# Windows服务程序
&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/2314416.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>.NET 2.0远程传输数据集的优化方法(WebService)</title><link>http://blog.csdn.net/jinru2560/archive/2007/04/18/1569325.aspx</link><pubDate>Wed, 18 Apr 2007 16:37:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2007/04/18/1569325.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/1569325.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2007/04/18/1569325.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/1569325.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1569325</trackback:ping><description>序列化,通过WebService传输,客户端接收,再反序列化,确实效果大大的优于直接传送DataSet,不仅网络传输中如此,即使本机,性能改善也非常明显.&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/1569325.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>C#中同一DataTable中合并相同条件的行数据</title><link>http://blog.csdn.net/jinru2560/archive/2006/08/02/1009920.aspx</link><pubDate>Wed, 02 Aug 2006 11:41:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/08/02/1009920.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/1009920.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/08/02/1009920.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/1009920.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1009920</trackback:ping><description>C#中同一DataTable中合并相同条件的行数据&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/1009920.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>C# 泛型简介</title><link>http://blog.csdn.net/jinru2560/archive/2006/05/16/741346.aspx</link><pubDate>Tue, 16 May 2006 15:53:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/05/16/741346.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/741346.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/05/16/741346.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/741346.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=741346</trackback:ping><description>C# 泛型简介

摘要：本文讨论泛型处理的问题空间、它们的实现方式、该编程模型的好处，以及独特的创新（例如，约束、一般方法和委托以及一般继承）。此外，本文还讨论 .NET Framework 如何利用泛型。

下载 GenericsInCSharp.msi 示例文件 。 

注 本文假定读者熟悉 C# 1.1。

简介

泛型是 C# 2.0 的最强大的功能。通过泛型可以定义类型安全的数据结构，而无须使用实际的数据类型。这能够显著提高性能并得到更高质量的代码，因为您可以重用数据处理算法，而无须复制类型特定的代码。在概念上，泛型类似于 C++ 模板，但是在实现和功能方面存在明显差异。本文讨论泛型处理的问题空间、它们的实现方式、该编程模型的好处，以及独特的创新（例如，约束、一般方法和委托以及一般继承）。您还将了解在 .NET Framework 的其他领域（例如，反射、数组、集合、序列化和远程处理）中如何利用泛型，以及如何在所提供的基本功能的基础上进行改进。 
&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/741346.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>如何使用 Visual C# 加密和解密文件</title><link>http://blog.csdn.net/jinru2560/archive/2006/04/24/674756.aspx</link><pubDate>Mon, 24 Apr 2006 11:34:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/04/24/674756.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/674756.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/04/24/674756.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/674756.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=674756</trackback:ping><description>如何使用 Visual C# 加密和解密文件
 
本文引用下面的 Microsoft .NET Framework 类库命名空间： • System.IO 
• System.Security 
• System.Security.Cryptography 

本页
概要
本文介绍如何使用 Microsoft .NET Framework 提供的加密类对文本文件进行加密以使其处于不可读状态，然后再对该信息进行解密，以恢复到原来的格式。 
 
要求
下面列出了推荐使用的硬件、软件、网络架构以及所需的 Service Pack： • Microsoft Windows 2000 Professional、Windows 2000 Server、Windows 2000 Advanced Server、Windows NT 4.0 Server 或 Microsoft Windows XP Professional 
• Microsoft Visual Studio 2005 或 Microsoft Visual Studio .NET 
&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/674756.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>利用Microsoft Office InfoPath结合C#编程</title><link>http://blog.csdn.net/jinru2560/archive/2006/03/23/635810.aspx</link><pubDate>Thu, 23 Mar 2006 11:09:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/03/23/635810.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/635810.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/03/23/635810.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/635810.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=635810</trackback:ping><description>   我想这里利用WEB服务来与InfoPath交互数据是最方便的了，InfoPath只能从数据库（SQL Server、Access)中提取数据，而不能直接编辑数据。通过WEB服务，InfoPath提交XML数据，服务来进一步处理数据。InfoPath的页面也可以做的比较漂亮，与Web页面相当。

  不过在这里，InfoPath生成的模板中保存着原来的物理路径，把模板文件拷到别的机子上就无法打开填写表单，不知道这是什么问题？

  研究了一段时间InfoPath，使用起来还是很方便的。在设计模板的时候，其每种控件都可以添加验证条件以及自定交的规则，操作起来也很方便，即使不太懂编程也不要紧。
&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/635810.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>用C#读取图片的EXIF信息</title><link>http://blog.csdn.net/jinru2560/archive/2006/03/22/632612.aspx</link><pubDate>Wed, 22 Mar 2006 16:57:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/03/22/632612.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/632612.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/03/22/632612.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/632612.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=632612</trackback:ping><description>引言：

        EXIF，是英文Exchangeable Image File(可交换图像文件)的缩写，最初由日本电子工业发展协会(JEIDA --Japan Electronic Industry Development Association) 制订，目前的版本是修改发表于1998年6月的2.1版。国际标准化组织(ISO)正在制订的相机文件设计标准（DCF -- Design role for Camera File system）就是以EXIF2.1格式为基础而设定的。

       记住，EXIF是一种图像文件格式，只是文件的后缀名还是沿用大家熟悉的jpg而已。实际上，EXIF信息就是由数码相机在拍摄过程中采集一系列的信息，然后把信息放置在我们熟知的jpg文件的头部，也就是说EXIF信息是镶嵌在JPEG图像文件格式内的一组拍摄参数，主要包括摄影时的光圈、快门、ISO、日期时间等各种与当时摄影条件相关的讯息，相机品牌型号，色彩编码，拍摄时录制的声音以及全球定位系统（GPS）等信息。简单的说，它就好像是傻瓜相机的日期打印功能一样，只不过EXIF信息所记录的资讯更&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/632612.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>使用 Visual C# .Net 确定 Windows 版本</title><link>http://blog.csdn.net/jinru2560/archive/2006/03/02/613935.aspx</link><pubDate>Thu, 02 Mar 2006 16:09:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/03/02/613935.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/613935.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/03/02/613935.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/613935.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=613935</trackback:ping><description>概要
本文逐步介绍如何确定应用程序所在的系统上使用的是哪一种操作系统。本文还将说明 Microsoft Windows 95、Microsoft Windows 98、Microsoft Windows 98 Second Edition、Microsoft Windows Millennium Edition (Windows Me)、Microsoft Windows NT 3.51、Microsoft Windows NT 4.0、Microsoft Windows 2000 及 Microsoft XP 之间的区别。 &lt;img src ="http://blog.csdn.net/jinru2560/aggbug/613935.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>文件保存到数据库/从数据库读出写成文件</title><link>http://blog.csdn.net/jinru2560/archive/2006/03/02/613897.aspx</link><pubDate>Thu, 02 Mar 2006 15:47:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/03/02/613897.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/613897.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/03/02/613897.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/613897.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=613897</trackback:ping><description>将文件保存到数据库中，实际上是将文件转换成二进制流后，将二进制流保存到数据库相应的字段中。（在SQL Server中该字段的数据类型是Image，在Access中该字段的数据类型是OLE对象，在ORCLE中是BLOB类型。&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/613897.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>如何用C#操作注册表</title><link>http://blog.csdn.net/jinru2560/archive/2006/01/13/578021.aspx</link><pubDate>Fri, 13 Jan 2006 10:50:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/01/13/578021.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/578021.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/01/13/578021.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/578021.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=578021</trackback:ping><description>//写注册表 
RegistryKey regWrite; 
//往HKEY_CURRENT_USER主键里的Software子键下写一个名为“Test”的子键 
//如果Test子键已经存在系统会自动覆盖它 
regWrite = Registry.CurrentUser.CreateSubKey("Software\\Test"); 
//往Test子键里添两条数据项，一条名为"Name",另一条名为"Sex" 
//值分别是"luolie","男" 
regWrite.SetValue("Name","luolie"); 
regWrite.SetValue("Sex","男"); 
//关闭该对象 
regWrite.Close(); 


读注册表 
RegistryKey regRead; 
//读取HKEY_CURRENT_USER主键里的Software子键下名为“Test”的子键 
regRead= Registry.CurrentUser.OpenSubKey("Software\\Test",true); 
if(regRead=&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/578021.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>使用C#操作ini文件</title><link>http://blog.csdn.net/jinru2560/archive/2006/01/13/577958.aspx</link><pubDate>Fri, 13 Jan 2006 10:16:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/01/13/577958.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/577958.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/01/13/577958.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/577958.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=577958</trackback:ping><description> 原作：BLaZiNiX         翻译: dragontt 


      这个类，封装了Kernal32.dll 中提供的方法来操作ini文件。 

简介： 

     这里创建了一个类，封装了KERNEL32.dll中提供的两个方法，用来操作ini文件。这两个方法是：WritePrivateProfileString 和 GetPrivateProfileString。 

  需要引用的命名空间为：System.Runtime.InteropServices 和 System.Text 


类源文件 


using System; 
using System.Runtime.InteropServices; 
using System.Text; 
namespace Ini 
{ 
   /**//// &amp;lt;summary&amp;gt; 
   /// Create a New INI file to store or load data 
   /// &amp;lt;/summary&amp;gt; 
   public clas&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/577958.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>在WinForm程序中下载网站中的文件</title><link>http://blog.csdn.net/jinru2560/archive/2006/01/12/577456.aspx</link><pubDate>Thu, 12 Jan 2006 17:05:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2006/01/12/577456.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/577456.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2006/01/12/577456.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/577456.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=577456</trackback:ping><description>在WinForm程序中有时会直接从网站上下载文件，这里的文件为rar文件或是exe文件或是文本文件等等。。

编程的时候不要忘记添加using System.Net;的引用（在其中要用到HttpWebResponse,httpWebRequest).

下面是一简单的应用例子：

#region download files from server 

  /// 
  /// 
  ///   
  /// 
  /// 
  private void LoadFiles()
  {
 
   string fromPath = "http:\\127.0.0.1\\test.rar";    //源文件路径
   string downPath = "c:\\test.rar";                                    //目标路径
   try
   {
    //create web request/response
    HttpWebResponse Response;
    HttpWebRe&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/577456.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>小儒</dc:creator><title>基于Lucene的文件检索</title><link>http://blog.csdn.net/jinru2560/archive/2005/12/31/567189.aspx</link><pubDate>Sat, 31 Dec 2005 14:07:00 GMT</pubDate><guid>http://blog.csdn.net/jinru2560/archive/2005/12/31/567189.aspx</guid><wfw:comment>http://blog.csdn.net/jinru2560/comments/567189.aspx</wfw:comment><comments>http://blog.csdn.net/jinru2560/archive/2005/12/31/567189.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/jinru2560/comments/commentRss/567189.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=567189</trackback:ping><description>基于Java的全文索引/检索引擎——Lucene

      Lucene不是一个完整的全文索引应用，而是是一个用Java写的全文索引引擎工具包，它可以方便的嵌入到各种应用中实现针对应用的全文索引/检索功能。

      Lucene的作者：Lucene的贡献者Doug Cutting是一位资深全文索引/检索专家，曾经是V-Twin搜索引擎(Apple的Copland操作系统的成就之一)的主要开发者，后在Excite担任高级系统架构设计师，目前从事于一些INTERNET底层架构的研究。他贡献出的Lucene的目标是为各种中小型应用程序加入全文检索功能。

     Lucene的发展历程：早先发布在作者自己的www.lucene.com，后来发布在SourceForge，2001年年底成为APACHE基金会jakarta的一个子项目：http://jakarta.apache.org/lucene/ 已经有很多Java项目都使用了Lucene作为其后台的全文索引引擎。

   现在也有很多用.NET做的Lucene,其索引/检索的效果还是不错的。

   近期由&lt;img src ="http://blog.csdn.net/jinru2560/aggbug/567189.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>