在使用VS2010的时候有时会带不出System.Data.OracleClient这个引用,可以使用以下解决方法。 右击项目的属性,在弹出窗口中有一个“目标框架”下拉框选项,默认会是.NET FRAMWORK 4 CLIENT PROFILE,当选项是这个的时候,如果添加引用OracleClien...
分类:
数据库 时间:
2014-07-12 00:02:05
阅读次数:
305
A.WinForm中窗体显示 显示窗体可以有以下2种方法: Form.ShowDialog方法 (窗体显示为模式窗体) Form.Show方法 (窗体显示为无模式窗体) 2者具体区别如下: 1.在调用Form.Show方法后,Show方法后面的代码会立即执行 2.在调用Form.ShowDialog...
分类:
其他好文 时间:
2014-07-11 23:22:11
阅读次数:
241
using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using Syste...
分类:
其他好文 时间:
2014-07-11 23:15:16
阅读次数:
266
1)创建项目命令:scrapy startproject tutorial该命令将在当前目录下创建tutorial文件夹2)定义ItemItems are containers that will be loaded with the scraped data;They are declared b...
分类:
其他好文 时间:
2014-07-11 23:07:39
阅读次数:
314
java:public class ArrayStack { private int[] data; private int top; private int size; public ArrayStack(int size) { this.data = new...
分类:
编程语言 时间:
2014-07-11 22:49:57
阅读次数:
223
iPhone开发中常常需要将对象持久化处理,或者将数据文件反序列化,便于存储用户的配置、习惯、以及保存加载的数据等。一般对象序列化的方式有四种:plist,NSUserDefaults,sqlite以及Core Data。plist和sqlite数据库是最常用的方法。对于plist:新建plist文...
分类:
数据库 时间:
2014-07-11 22:26:31
阅读次数:
350
默认情况下,验证提示信息用label元素来显示, 并且会添加css class, 通过css可以很方便设置出错控件以及错误信息的显示方式。/* 输入控件验证出错*/form input.error { border:solid 1px red;}/* 验证错误提示信息*/form label.err...
分类:
Web程序 时间:
2014-07-11 21:36:09
阅读次数:
259
1: 自定义表单提交设置submitHandler来自定义表单提交动作$(".selector").validate({submitHandler: function(form) { alert("验证通过"); }});如果需要提交表单,可以调用form.submit(); 或者$(form).a...
分类:
Web程序 时间:
2014-07-11 21:34:08
阅读次数:
282
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSys...
分类:
其他好文 时间:
2014-07-11 20:41:18
阅读次数:
171
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-07-11 20:36:27
阅读次数:
234