一、单表头 1 #region 导出 2 if (this.dgvInfo.Rows.Count > 0) 3 { 4 SaveFileDialog saveFileDialog = new SaveFileDialo...
分类:
其他好文 时间:
2014-07-10 12:12:06
阅读次数:
270
不上传东西 Request.Files.Count也不为零,所以要在后面再加上一个条件Request.Files[0].ContentLength!=0if (Request.Files.Count != 0 && Request.Files[0].ContentLength!=0)这样当不上传东西...
分类:
Web程序 时间:
2014-07-10 00:21:25
阅读次数:
185
#include#includeusing namespace std;class Queue{public:// T data[maxSize]; int maxSize; int *data; int Front; int rear; int Count; ...
分类:
其他好文 时间:
2014-07-07 21:13:58
阅读次数:
239
一个单词单词字母交换,可得另一个单词,如army->mary,成为兄弟单词。提供一个单词,在字典中找到它的兄弟。描述数据结构和查询过程。#include #include #include using namespace std;void add(unsigned int count[],char ...
分类:
其他好文 时间:
2014-07-07 20:57:31
阅读次数:
244
今天要用到Matlab 中的fscanf函数,上网找了一下终于明白了,现在自己写一下体会:下面是fscanf()的主要应用syntaxA = fscanf(fileID, format)A = fscanf(fileID, format, sizeA)[A, count] = fscanf(...)...
分类:
其他好文 时间:
2014-07-07 20:56:10
阅读次数:
452
Problem Desciption : Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is...
分类:
其他好文 时间:
2014-07-07 19:39:07
阅读次数:
206
1、调用对方接口,设置count,跟踪每次调用次数,看看调用接口总次数是否跟订单数据总量一致。记录错误日志。记录调用失败的订单号。这是从调用方的角度跟踪检测数据。2、将2014年每个月调用方和接收方的数据库中各个状态订单总量进行对比,发现订单量不一致的状态。让接收方将数据库中这些状态的订单号和状态导...
分类:
其他好文 时间:
2014-07-07 17:36:36
阅读次数:
177
题意: 给你三个数:L (1
有T种颜色(1~T),然后有O个操作,初始板1~L的颜色为1,"C A B C"表示在区间A,B图上C颜色, "P
A B" 表示询问
A,B区间有几种不同的颜色。
#include
#include
#include
#include
#include
#define M 100000
#define L...
分类:
其他好文 时间:
2014-06-30 11:07:40
阅读次数:
164
先看一段代码
#include
#include
#include
#include
#include
static int count = 0;
void set_timer()
{
struct itimerval itv;
itv.it_value.tv_sec = 3; //timer start after 3 seconds later
itv.it...
分类:
系统相关 时间:
2014-06-30 10:31:41
阅读次数:
365
题目
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some...
分类:
其他好文 时间:
2014-06-30 09:36:18
阅读次数:
192