1. The term serialization describes the process of persisting (and possibly transferring) the state of an
object into a stream (file stream, memory stream, etc.). The persisted data sequence contains all
necessary information needed to reconstruct (or deserialize) the state of the object for use l ...
1. Specifically speaking, a delegate object maintains three important pieces of information:
• The address of the method on which it makes calls
• The arguments (if any) of this method
• The return value (if any) of this method
2. When the C# compiler processes delegate ty ...
1. Interface: IEnumerable, IEnumerator,
2. Abstract classes: CollectionBase, ReadonlyCollectionBase
- 13:54
- 浏览 (37)
- 评论 (0)
1. Interface layout
2. the .NET platform supports two broad groups of data types, termed value types and reference types. C# provides a very simple mechanism, termed boxing, to convert a value type to a reference
type.
3. In summary, generic containers provide the following benefits o ...
1. The class is nothing more than a blueprint that describes how an instance of this type will look and feel in memory.
2. When Garbage collector destroy a object in memory? The short (i.e., incomplete) answer is that the garbage collector removes an object from the heap when it ...
1.
DispatcherUnhandledException 事件处理程序接受一个传递给它的 DispatcherUnhandledExceptionEventArgs 参数,该参数包含关于未处理异常的上下文信息,其中包括异常本身 (DispatcherUnhandledExceptionEventArgs..::.Exception)。使用该信息可以确定如何处理异常。
在处理 DispatcherUnhandledException 时,应当将 DispatcherUnhandledExceptionEventArgs..::.Handled 属性设置为 true;否则,WPF 仍会 ...
正在进行的项目需要一个Table列出一些数据,每一行记录都有一些特定的信息需要保存。比如每一行都需要属性记录是否被选中,个别行还有自己的保留信息。
比较直接的想法是用数组,但是那样的话,数组和列关联起来不是很容易。后来发现原来可以直接把数据作为HTML元素的属性保存起来
下面的函数用来在一个元素中保存一个健值对。
var IS_IE = false;var IS_MOZILLA = false;if ((!document.all)&&(document.getElementById)) IS_MOZILLA = true;if ((document.all)&& ...
在测试数据访问层的DAO代码时,如果连接真实的数据库会导致产生一些测试数据。应用HSQLDB在内存中建立一个同结构的数据库用来测试是个好主意。下面就针对使用Ibatis的DAO代码进行测试。
1. 下载HSQLDB 的jar文件。
2. 建立一个数据库描述文件
java 代码
driver=org.hsqldb.jdbcDriver
url=jdbc:hsqldb:mem:testfixture
username=sa
password=
...
- 10:35
- 浏览 (379)
- 评论 (0)
- 分类: O/R Mapping
java 代码
package test;
import javax.xml.namespace.QName;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
public&nbs ...
1. 每个JSP页面应该有如下的code
java 代码
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
...
- 浏览: 4330 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
Java调用.NET Web Service ...
call.setSOAPActionURI("http://tempuri.or ...
-- by e_ville -
Java调用.NET Web Service ...
参数传入的都没有 我现在遇到的问题是 参数无法传入~
-- by javaman1982 -
Java调用.NET Web Service ...
语法都出现错误了,而且导入的包也没有说明是哪些包。 麻烦版主再帖多次,最好给点注 ...
-- by linyiteng1220 -
Java调用.NET Web Service ...
老大,你注释都没有,我们这些新手看不懂啊
-- by xiaoqulai






评论排行榜