在Ecmall的二次开发中,分页是必不可少的。这个系统已经自带了分页功能,下面来看看如何使用这个分页。下面是一个自定义的类,用于查看订单的详细情况。关键在于get_order_data()这个方法,分页的使用也在这个方法的内部了。应该有的注释都有了,应该会比较容易懂,我不就多说了。_get_page...
分类:
其他好文 时间:
2014-06-04 14:31:41
阅读次数:
270
package com.saic.grape.controller;
public class Data {
private int j=0;
/**
* 加法
*/
public synchronized void inc() {
j++;
System.out.println("inc 加法运算>>"+j);
}
/**
* 减法
*/...
分类:
编程语言 时间:
2014-06-04 14:03:01
阅读次数:
356
UI标签库专题二:JEECG智能开发平台Column(列) 子标签
??
1.1. Column(列) 子标签
1.1.1. 示例
年龄" field="age" query="true" extend="{data-options:{required:false,groupSeparator:\"','\"},class:{value:'easyui-nu...
分类:
其他好文 时间:
2014-06-04 14:01:49
阅读次数:
1162
感觉有必要把
KMDDOD_INITIALIZATION_DATA
中的这些函数指针的意思解释一下, 以便进一步的深入代码.
DxgkDdiAddDevice
前面已经说过, 这个函数的主要内容是,将BASIC_DISPLAY_DRIVER实例指针存在context中, 以便后期使用, 支持多实例.
DxgkDdiStartDevice
取得设备...
分类:
其他好文 时间:
2014-06-04 13:53:18
阅读次数:
1183
前面介绍了Linq的三个方面应用:Linq to SQL, Linq to XML和Linq to Object,这篇介绍一下动态Linq的实现方式及应用场景。
命名空间:
System.Linq;
System.Linq.Expressions;
应用Linq的时候,我们都知道只需要Lambda表达式就行,但有些场景仅仅只使用Data Model的字段名操作是不够的或者不方便的。...
分类:
其他好文 时间:
2014-06-04 13:43:42
阅读次数:
310
刚接触Ecmall的二次开发不久,接到一个任务。很常见的任务,主要是对数据库进行一些操作,其中查询的方法我写成这样:01functionget_order_data($goods_id)02{03include_once("gonndb/nmdb.php");04include_once("gonn...
分类:
其他好文 时间:
2014-06-03 17:12:29
阅读次数:
344
Swift is a multi-tenant, highly scalable and
durable object storage system that was designed to store large amounts of
unstructured data at low cost v...
分类:
移动开发 时间:
2014-06-03 15:50:12
阅读次数:
369
WithApache CXF 3.0just being released a couple
of weeks ago, the project makes yet another important step to fulfill theJAX-RS
2.0specification requir...
分类:
编程语言 时间:
2014-06-03 15:38:44
阅读次数:
507
一:DateTime.ToString格式化日期,截图二:代码using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Data;using System.Drawing;using ...
分类:
其他好文 时间:
2014-06-03 15:22:00
阅读次数:
414
此前对于AOP的使用仅限于声明式事务,除此之外在实际开发中也没有遇到过与之相关的问题。最近项目中遇到了以下几点需求,仔细思考之后,觉得采用AOP
来解决。一方面是为了以更加灵活的方式来解决问题,另一方面是借此机会深入学习Spring AOP相关的内容。本文是权当本人的自己AOP学习笔记,以下需求不....
分类:
编程语言 时间:
2014-06-03 14:36:53
阅读次数:
401