使用asp.net导出Excel有多重方法。经过总结,现推荐一种简易方法,不用再记那些复杂的类名了。code:using
System.Data;using System.IO;//add Microsoft.Excel refference and set operation
right in s...
分类:
Web程序 时间:
2014-05-08 18:16:51
阅读次数:
276
【failed to get the task for process问题】A: Why am
I getting "Error launching remote program: failed to get the task for process"
when debugging an iPhon...
分类:
其他好文 时间:
2014-05-08 18:10:58
阅读次数:
326
一.参考http://www.csdn.net/article/a/2013-12-18/309280http://gtstorageworld.blog.51cto.com/908359/1269024http://www.searchstorage.com.cn/microsites/2014s...
分类:
Web程序 时间:
2014-05-08 17:38:56
阅读次数:
344
检查网站日期,发现内容如下:System.NullReferenceException:
未将对象引用设置到对象的实例。 在 URLRewriter.ModuleRewriter.Rewrite(String requestedPath,
HttpApplication app) 在 URL...
分类:
其他好文 时间:
2014-05-08 17:34:08
阅读次数:
275
命名空间:System.TransactonsMSDN解释:使代码块成为事务性代码,此类不能被继承。百度空间:在项目中引用using
System.Transaction命名空间。在using
中定义了一个TransactionScope,相当于定义了一个事物范围即,这个事务作用域为using内。在...
分类:
其他好文 时间:
2014-05-08 15:15:19
阅读次数:
289
C# 二进制字节流查找函数IndexOf ///
/// 报告指定的 System.Byte[] 在此实例中的第一个匹配项的索引。
///
/// 被执行查找的 System.Byte[]。
/// 要查找的 System.Byte[]。
/// 如果找到该字节数组,则为 searchBytes 的索...
分类:
其他好文 时间:
2014-05-08 11:10:26
阅读次数:
259
使用 System.IO 序列
F# 的一个有趣的能力是可以生成延迟序列(lazysequences,我们在第三章中讨论过),它可以用来处理大型文件,避免对文件预先分配的所有内存的开销,这样就能够处理那些太大而装不进 32 位系统的大型文件了。
生成序列非常简单,使用File.OpenText 方法,以文本文件流的形式打开文件。这个方法提供了一个流读取器(stream reader),使...
分类:
其他好文 时间:
2014-05-08 10:46:39
阅读次数:
290
这八种C#获取相对路径的方法,包括获取和设置当前目录的完全限定路径、获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称等等内容。C#获取相对路径1.获取和设置当前目录的完全限定路径。1.stringstr=System.Environment.CurrentDirectory;2.Resu...
分类:
其他好文 时间:
2014-05-08 10:22:23
阅读次数:
277
一、安装路径在哪? Android应用安装涉及到如下几个目录:
system/app系统自带的应用程序,无法删除。data/app用户程序安装的目录,有删除权限。安装时把apk文件复制到此目录。data/data存放应用程序的数据。data/dalvik-cache将apk中的dex文件安装到dal...
分类:
移动开发 时间:
2014-05-08 06:12:00
阅读次数:
567
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Data;using System.Drawing;using System.IO;using System....
分类:
其他好文 时间:
2014-05-08 06:10:59
阅读次数:
395