C#
even0220
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C# 文件操作(详细)
C#文件操作类 2007-08-10 09:10 using System; using System.IO; using System.Text; using System.Data; namespace DbConvert { /********************************************************************************** * * 功能说明:文件操作类 * 作者: * 版本: * * *****转载 2010-08-10 11:20:00 · 823 阅读 · 0 评论 -
ASP.NET将DataTable导出为EXCEL
/// /// 将DataTable导出为Excel /// /// DataTable数据源 /// 文件名 public static void ExportToSpreadsheet(DataTable table, string name) { Random r =原创 2011-11-11 16:49:21 · 8970 阅读 · 4 评论 -
C#比较2个日期之间间隔不能超过一个月
private bool CompareDate(string JobDateFrom, string JobDateTo, int n) { DateTime DTJobDateFrom = Convert.ToDateTime(JobDateFrom); DateTime DTJobDateTo = Convert.ToDateTime(JobDateT原创 2011-11-12 16:26:14 · 5299 阅读 · 1 评论 -
如何引用 System.Runtime.Serialization.Json
今天新开的一个项目突然发现引用System.Runtime.Serialization.Json 提示 命名空间 不存在类型或命名空间名称 json 明明前段时间刚开发的WCF是很正常的引用的,认真比照了引用的文件位置是一样的,记得前段时间在优快云上也有人抱怨看不到System.Runtime.Serialization.Json 后面发现 首先,当然是项目是转载 2013-01-09 00:00:20 · 1696 阅读 · 0 评论 -
如何将JSON转换成实体类集合?
C# code /// /// Get An Object By Deserialize From Json String /// /// Gneric Type /// Json String /// An Assigned Type Object public stat转载 2013-01-09 00:01:06 · 9714 阅读 · 1 评论 -
iTextSharp 使用详解(转) 感谢原著作者
TextSharp是一个生成Pdf文件的开源项目,最近在项目中有使用到这个项目,对使用中的经验作一个小结. ITextSharp中相关的概念: 一、Document 这个对象有三个构造函数: 隐藏行号 复制代码 ?这是一段程序代码。 public Document(); public Document(Rectangle pageSize);转载 2013-03-10 18:06:23 · 9656 阅读 · 1 评论 -
RDLC报表格式化format表达式
FormatDateTime函数,其实用起来就发现FormatDateTime不是我要的料,这此先看看FormatDateTime的声明吧: Function FormatDateTime( ByVal Expression As DateTime, Optional ByVal NamedFormat As DateFormat = DateFormat.Gene转载 2013-03-02 21:39:22 · 8579 阅读 · 0 评论
分享