/// /// 数据访问基类 /// public abstract class
DataAccess : MarshalByRefObject { /// /// LifetimeService /// ...
分类:
数据库 时间:
2014-05-19 08:59:56
阅读次数:
454
[AttributeUsage(AttributeTargets.Class)] public
class TableAttribute : Attribute { public TableAttribute(string tableName) { ...
分类:
移动开发 时间:
2014-05-19 08:47:04
阅读次数:
310
public voidoverridePendingTransition(int enterAnim,
int exitAnim) Call immediately after one of the flavors
ofstartActivity(Intent)orfinish()to speci....
分类:
移动开发 时间:
2014-05-19 08:43:06
阅读次数:
426
public class com { /// /// 把参数转为JSON字符串 /// ///
所有的参娄 /// JSON字符串 public static Hashtable StringToJSON(...
分类:
Web程序 时间:
2014-05-19 08:25:40
阅读次数:
311
这一节我们关注模型绑定的值提供体系,先来介绍几个重要的接口一.IValueProvider,接口定义如下:1 public interface
IValueProvider2 {3 4 bool ContainsPrefix(string prefix);...
分类:
Web程序 时间:
2014-05-19 08:08:11
阅读次数:
1288
题目:合并两个有序单链表思路:一开始想复杂了,以为必须在原链表上修改(绕来绕去还AC了,但是思路相当绕),其实没有,按照正常地合并两个数组同样的方法也对。代码:public
ListNode mergeTwoLists(ListNode l1, ListNode l2) { if(l1 ...
分类:
其他好文 时间:
2014-05-19 07:48:32
阅读次数:
314
数据契约(DataContract)服务契约定义了远程访问对象和可供调用的方法,数据契约则是服务端和客户端之间要传送的自定义数据类型。一旦声明一个类型为DataContract,那么该类型就可以被序列化在服务端和客户端之间传送,如下所示。
[DataContract] public class Us...
分类:
其他好文 时间:
2014-05-19 07:21:52
阅读次数:
321
题目:查找元素target插入一个数组中的位置。代码:public int
searchInsert(int[] A, int target) { int len = A.length; int i; for(i = 0 ; i
< len ; i++){ ...
分类:
其他好文 时间:
2014-05-18 20:28:13
阅读次数:
299
>_ 2 class CMyApp:public CWinApp 3 { 4
public: 5 virtual BOOL InitInstance(); 6 }; 7 class CMainWindow:public CFrameWnd
8 { 9 public:10 CMainW...
分类:
其他好文 时间:
2014-05-18 20:22:10
阅读次数:
354
package edu.sjtu.erplab.io;import
java.util.Random;public class RandomTest { public static void main(String[]
args) { int max=20; int...
分类:
编程语言 时间:
2014-05-17 18:04:42
阅读次数:
239