public string GetJsonFromDataTable(DataTable dt,
int total, bool ShowFooter, string fields, string inputfiled, string ShowMessage
= "合计:", string filt...
分类:
Web程序 时间:
2014-05-10 00:10:36
阅读次数:
397
STL--map用法map是STL的一个关联容器,它提供一对一(其中第一个可以称为关键字,每个关键字只能在map中出现一次,第二个可能称为该关键字的值)的数据处理能力由于这个特性它完成有可能在我们处理一对一数据的时候,在编程上提供快速通道。这里说下map内部数据的组织map内部自建一颗红黑树(一种非...
分类:
其他好文 时间:
2014-05-10 00:06:51
阅读次数:
385
public static String getLastMonthTime(){ Calendar
calendar = Calendar.getInstance(); calendar.add(Calendar.MONTH, -1); int y...
分类:
编程语言 时间:
2014-05-10 00:03:29
阅读次数:
532
在Cocos2d-x中能够使用的字符串constchar*、std::string和cocos2d::__String等,其中const
char*是C风格的字符串,std::string是C++风格的字符串,它封装了const
char*。cocos2d::__String才是Cocos2d-x引...
分类:
其他好文 时间:
2014-05-09 23:58:33
阅读次数:
426
1: /// 2: /// 去除HTML标记 3: /// 4: /// 包括HTML的源码 5:
/// 已经去除后的文字 6: public static string RemoveHTML(string Htmlstring) 7: { 8:...
分类:
Web程序 时间:
2014-05-09 23:51:01
阅读次数:
404
1 public static void main(String[] args) { 2
Integer in1 = 128; 3 Integer in2 = 128; 4 System.out.println(in1 == in2 ); 5...
分类:
其他好文 时间:
2014-05-09 23:50:29
阅读次数:
270
1 // 遍历一个list 2 public static void printList(List
list){ 3 for (String string : list) { 4 list.add("eeee"); // 运行错误 5 ...
分类:
其他好文 时间:
2014-05-09 23:31:33
阅读次数:
467
1.通过浏览器的句柄来操纵窗口,得到句柄的方法 public String
getWindowHandle(){ String currentWindow = driver.getWindowHandle(); return
currentWindow; } 2.切换到最新的窗口 pub...
分类:
Web程序 时间:
2014-05-09 23:27:19
阅读次数:
406
第一次发文章,格式不太规范,不过以后会逐渐改正的,请大家多多指正public class
Pager { private string _pageurl; private int _pagecount; private int
_currentpage...
分类:
其他好文 时间:
2014-05-09 23:18:55
阅读次数:
335
接着上一篇,上一篇主要介绍了PetaPoco
基本情况,优缺点和基本的查询功能,所以这篇主要介绍的是PetaPoco
的增,删,改等功能。PetaPoco提供了完整的增,删,改,查功能。是代替SqlHelper辅助类的不二选择。插入对象:,需要指定的表和它的主键。var
a=new arti...
分类:
其他好文 时间:
2014-05-09 23:09:13
阅读次数:
346