清山博客

多闻阙疑,慎言其余,则寡尤;多见阙殆,慎行其余,则寡悔。言寡尤,行寡悔。...

ASP.NET WebConfig读写辅助类

using System.Configuration; using System.Web; using System.Web.Configuration; namespace RC.Website.FileManage.Controllers { /// <sum...

2018-09-13 11:00:22

阅读数:51

评论数:0

C# 将文件(夹)目录结构读取并写入SQL Server数据库

1.运行效果 2.初始化数据库表 CREATE TABLE [dbo].[RC_File_FileUpload]( [guid] [nvarchar](40) NOT NULL, [type] [nvarchar](10) NULL, [name] [nvarchar](50...

2018-08-23 13:17:28

阅读数:81

评论数:0

NPOI 通用导出数据到Excel

应用场景: 在项目中,经常遇到将数据库数据导出到Excel,针对这种情况做了个程序封装。网页导出时,也可参考此程序代码。 程序界面: 可执行程序: 源代码:

2014-11-04 16:06:26

阅读数:1709

评论数:0

C# IIS应用程序池辅助类

using System.Collections.Generic; using System.DirectoryServices; using System.Linq; using Microsoft.Web.Administration;//位于:C:\Windows\System32\inet...

2014-07-19 09:50:27

阅读数:1207

评论数:0

ASP.NET Web.Config 读写辅助类

using System; using System.Configuration; using System.Web; using System.Web.Configuration; namespace Whir.ezEIP { /// /// WebConfig读写辅助类 ...

2014-06-04 11:32:28

阅读数:3070

评论数:0

DbHelper-SQL数据库访问助手

using System; using System.Data; using System.Data.SqlClient; namespace Whir.Software.Framework.Ultimate { /// /// 数据库访问助手 /// ...

2014-06-01 15:06:22

阅读数:3548

评论数:0

FileHelper-文件操作辅助类

using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Whir.Software.Framework { /// /// 文件辅助类 ...

2014-06-01 15:02:02

阅读数:5229

评论数:0

AppPoolService-IIS应用程序池辅助类(C#控制应用程序池操作)

using System.Collections.Generic; using System.DirectoryServices; using System.Linq; using Microsoft.Web.Administration; //位于:C:\Windows\System32\ine...

2014-05-31 11:15:05

阅读数:5008

评论数:2

HttpOperater-模拟HTTP操作类

using System; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; namespace Whir.Software...

2013-11-08 17:21:26

阅读数:1226

评论数:0

FTPHelper-封装FTP的相关操作

using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Whir.Software.DataSyncTools.Library.Helper { publi...

2013-10-21 13:42:53

阅读数:4212

评论数:0

RegistryHelper-注册表辅助类

using Microsoft.Win32; namespace PowerEasy.Software.OfficeConvertService { /// /// 注册表辅助类 /// public class RegistryHelper ...

2013-06-15 21:13:25

阅读数:1673

评论数:0

ServiceHelper-Windows服务辅助类

using System; using System.Collections; using System.Configuration.Install; using System.ServiceProcess; namespace PowerEasy.Software.OfficeConvertH...

2013-06-15 21:02:15

阅读数:3014

评论数:0

JsonHelper Json转xml,Json转DataSet,DataSet转Json

using System; using System.Collections.Generic; using System.Data; using System.Web.Script.Serialization; using System.Xml; namespace PowerEasy.Soft...

2013-06-07 11:39:19

阅读数:5338

评论数:0

压缩解压缩文件(zip格式)

using System; using System.Collections.Generic; using System.IO; using ICSharpCode.SharpZipLib.Zip; namespace TestConsole { internal class Progr...

2013-05-30 15:29:37

阅读数:2398

评论数:0

Velocity简单语法及VelocityHelper封装

1.简单替换 ##这是注释 Wellcome ${userName}! Now:$date 2.申明变量: #set( $iAmVariable = "good!" ) Welcome $name to Javayou.com! today is $date. ...

2013-05-18 21:24:59

阅读数:4079

评论数:0

ConfigHelper 配置文件辅助类

using System; using System.Globalization; using System.IO; using System.Security; using System.Security.Cryptography; using System.Text; using System...

2013-05-04 17:59:56

阅读数:2005

评论数:0

SQLiteHelper

using System; using System.Data; using System.Data.SQLite; using System.IO; using System.Text.RegularExpressions; using System.Xml; namespace Whir.W...

2012-01-05 20:15:41

阅读数:1902

评论数:5

KeyWordHelper-关键字提取类(注:使用第三方组件DictSeg.dll)

namespace Framework { using System; using System.Collections; using System.IO; using KTDictSeg; /// /// 关键字辅助类 /// ...

2011-12-15 13:21:19

阅读数:1398

评论数:0

RandomHelper-随机数辅助类

namespace Framework { using System; using System.Globalization; using System.Text; /// /// 随机数辅助类 /// public sealed cl...

2011-12-15 13:18:10

阅读数:1540

评论数:0

StringHelper-字符串辅助类

using System; using System.Collections.Generic; using System.Text; using System.Globalization; using System.Text.RegularExpressions; namespace Fram...

2011-12-15 13:17:03

阅读数:2300

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭