作者:iamlaosong
用VBA对Excel文件进行处理的时候,关键字段的列号编程时往往是不知道的,需要通过参数设定才能知道,因此,我们编程的时候,就不能用这样的语句取有效行数:
lineno = [B65536].End(xlUp).Row
上述语句中的列名“B”如果是变量,可以用字符串连接的方式实现,即:
pos_ems = "C"
lineno = Range...
分类:
编程语言 时间:
2015-07-21 12:49:55
阅读次数:
215
1 internal static class CcbRsaHelper 2 { 3 private const string Begin = "-----BEGIN "; 4 private const string End = "----...
分类:
其他好文 时间:
2015-07-21 12:28:31
阅读次数:
274
#import "SXViewController.h"#import "SXShop.h"#import "FMDB.h"@interface SXViewController ()@property (nonatomic, strong) FMDatabase *db;@end@implemen...
分类:
数据库 时间:
2015-07-21 01:03:30
阅读次数:
146
#ifndef,#define,#end 是宏定义的一种---条件编译这样我直接举个例子好了:我定义两个相同的类A分别在single.h和singlenew.hsingle.h: 1 #include 2 using namespace std; 3 4 class A 5 { 6 public.....
分类:
其他好文 时间:
2015-07-20 22:56:08
阅读次数:
102
1.控制器代码#import "ViewController.h"#import #import "RYAVTool.h"@interface ViewController ()@property(nonatomic,strong)NSMutableDictionary*allAvID;@end@i...
分类:
移动开发 时间:
2015-07-20 21:29:55
阅读次数:
126
使用指定的值替换 NULL
ISNULL用来判断当所选列是空值的时候你打算用什么值去替换ISNULL ( check_expression , replacement_value )SELECT
CASE WHEN m.[办结日期] IS NULL THEN 1900
ELSE YEAR(m.[办结日期]) END AS 合作结算明细_办结年份,ISNULL(m.[付款金额], 0)...
分类:
数据库 时间:
2015-07-20 19:39:44
阅读次数:
150
杨辉三角: 用个以为数组直接模拟就行,只是 C++ 的高精度调了好久,后来发现能用 python ,于是试着写了写: 1 dp = [] 2 3 def out(L, end): 4 for i in range(end + 1): 5 print L[i], 6 ...
分类:
其他好文 时间:
2015-07-20 19:22:40
阅读次数:
118
ifMessageDlg('Welcome to my Delphi application. Exit now?', mtConfirmation, [mbYes, mbNo], 0) = mrYes thenbeginClose; end;MessageDlg用法对话框类型:mtwarning—...
select CustomerId ,Amount = SUM(Amount) ,InterestAmount = SUM(case when OpType = 1 then Amount else 0 end) ,PrincipalAmount = SUM( c...
分类:
数据库 时间:
2015-07-20 18:16:52
阅读次数:
121
RuntimeError?at?/home/register_over
You?called?this?URL?via?POST,?but?the?URL?doesn‘t?end?in?a?slash?and?you?have?APPEND_SLASH?set 结尾加"/". APPEND_SLASH 默认值:?True 是否给U...
分类:
其他好文 时间:
2015-07-20 17:07:14
阅读次数:
102