c# 288

#C#
C#导出数据到CVS文件的通用类代码

C#导出数据到CVS文件的通用类代码,通过这个类可以很简单的定义数据格式,并导出到CVS文件 //这里写了一个通用的类 using System; using System.Dat…

c#
2015-04-24 151

#C#
c#生成注册码

using System; using System.Management; using System.Security.Cryptography; using System.IO…

c#
2015-04-24 394

#C#
C#操作SQLite的辅助类

SQLite这个精巧的小数据库,无需安装软件,只需要一个System.Data.SQLite.DLL文件即可操作SQLite数据库。SQLite是 一个开源数据库,现在已变得越来越…

c#
2015-04-24 216

#C#
C# 堆排序示例代码

private static void Adjust (int[] list, int i, int m) { int Temp = list[i]; int j = i * 2 …

c#
2015-04-24 264

#C#
C#进行INI文件的读写操作

VC中提供了API函数进行INI文件的读写操作,但是微软推出的C#编程语言中却没有相应的方法,下面是一个C# ini文件读写类,从网上收集的,很全,就是没有对section的改名功…

c#
2015-04-24 621

#C#
C#面向对象的数据库操作类DbHelper

using System; using System.Configuration; using System.Collections.Generic; using System.D…

c#
2015-04-24 914

#C#
C#编写的屏幕监控代码

C#编写的屏幕监控代码,可以自动对屏幕进行截图,软件自身隐藏 using System; using System.Collections.Generic; using Syste…

c#
2015-04-24 520

#C#
封装了 System.Data.SQLite 的数据库助手类

System.Data.SQLite数据库通用类  针对对数据库的操作情况,分为以下几种情况: 创建数据库文件; 返回DataTable; 返回DataReader; 执…

c#
2015-04-24 355

#C#
C#公历转农历算法

/// <summary> /// LunDay 的摘要说明。 /// 用法说明 /// 直接调用即可,比较简单 /// </summary> public…

c#
2015-04-24 513

#C#
C#通过域名获得IP地址的代码

using System.Net; string web = txtWeb.Text; IPHostEntry host = Dns.GetHostByName(web); IPA…

c#
2015-04-24 708

#C#
C# 运行cmd命令的代码

using System; using System.Collections.Generic; using System.Linq; using System.Text; usin…

c#
2015-04-24 999

#C#
C#监控指定目录的文件变化

要检查的变化,即从目录中删除目录或文件或文件夹、或者添加到一个新的文件或文件夹到一个目录下,我们必须使用FileSystemWatcher类。这个类允许我们通过程序来监控目录的变化…

c#
2015-04-24 527