NPOI 官方网站 http://npoi.codeplex.com/ 加载NPOI.DLL
,引用这两个命名空间 using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; #region NPOI
DataGridView 导出 EXCEL /// /...
//此方法可以一次导入百万数据public int GetDevicesExel(string
fileName, string users, out string repIMEI) { int res = 0; #region exel导入...
分类:
其他好文 时间:
2014-05-15 17:05:06
阅读次数:
250
发送端:#include #include #include using namespace
std;#include #include #include using namespace boost::interprocess;int num =
0;mapped_region *mp_r;void...
分类:
其他好文 时间:
2014-05-15 16:05:06
阅读次数:
258
#region 移动窗体 移动窗口 private Point _mousePoint;
private int topA(Control cc) { if (cc == null || cc == this) retu...
分类:
移动开发 时间:
2014-05-15 10:10:20
阅读次数:
349
//dal类: public class BaseDAL
{
string strConn = "";
public BaseDAL(string connString)
{
strConn = connString;
}
#region 通用增删改查
#region...
分类:
其他好文 时间:
2014-05-15 05:20:18
阅读次数:
283
1、Ring的基本概念
Ring是swfit中最重要的组件,用于记录存储对象与物理位置之间的映射关系,当用户需要对Account、Container、Object操作时,就需要查询对应的Ring文件(Account、Container、Object都有自己对应的Ring),Ring 使用Region(最近几个版本中新加入的)、Zone、Device、Partition和Replica来维护这些信...
分类:
其他好文 时间:
2014-05-14 15:22:15
阅读次数:
1213
从这一章开始要讲Region Server这块的了,但是在讲Region
Server这块之前得讲一下StoreFile,否则后面的不好讲下去,这块是基础,Region
Sever上面的操作,大部分都是基于它来进行的。HFile概述HFile是HBase中实际存数据的文件,为HBase提供高效快速的...
分类:
其他好文 时间:
2014-05-14 11:42:39
阅读次数:
314
asp.net 实现“九连环”小游戏
wildcatsky(原作)
public Class ChinaRing1
Inherits System.Web.UI.Page
#Region " Web 窗体设计器生成的代码 "
'该调用是 Web 窗体设计器所必需的。
Private Sub InitializeComponent()
End Sub
Protected Wi...
分类:
Web程序 时间:
2014-05-14 00:30:45
阅读次数:
390
#region 数据分页 返回 DataTable /// /// 摘要: /// 数据分页 ///
参数: /// sql:传入要执行sql语句 /// param:参数化 ...
分类:
其他好文 时间:
2014-05-12 10:59:52
阅读次数:
224
1、
??
Surrounded Regions
Given a 2D board containing 'X' and 'O',
capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's
in that surrounded region.
For e...
分类:
其他好文 时间:
2014-05-11 18:52:32
阅读次数:
293