对于C# 进行oracle 数据库的开发来说使用oracle 提供的odp.net
方式是比较方便的,同时在性能以及兼容性也是比较好的但是,对于不打算使用的,那么该如何使用oledb 进行连接连接的方式大家可定都比较了解就是ADO.net
但是最重要的是连接字符串是怎么样的。先贴测试代码:using...
分类:
数据库 时间:
2014-05-08 18:21:13
阅读次数:
397
使用asp.net导出Excel有多重方法。经过总结,现推荐一种简易方法,不用再记那些复杂的类名了。code:using
System.Data;using System.IO;//add Microsoft.Excel refference and set operation
right in s...
分类:
Web程序 时间:
2014-05-08 18:16:51
阅读次数:
276
题目链接附上代码: 1 #include 2 #include 3 #include 4 using
namespace std; 5 6 class Solution { 7 public: 8 vector twoSum(vector
&numbers, int target) ...
分类:
其他好文 时间:
2014-05-08 17:50:11
阅读次数:
253
命名空间:System.TransactonsMSDN解释:使代码块成为事务性代码,此类不能被继承。百度空间:在项目中引用using
System.Transaction命名空间。在using
中定义了一个TransactionScope,相当于定义了一个事物范围即,这个事务作用域为using内。在...
分类:
其他好文 时间:
2014-05-08 15:15:19
阅读次数:
289
一:实现功能,获得选中节点,在选中节点下添加节点,折叠,展开,删除,得到选中节点下checked项,选中根节点其下节点也选中,图标。上图二:相关代码using
System;using System.Collections.Generic;using System.ComponentModel;us...
@using(Html.BeginForm("AddNews","NewsMgr",FormMethod.Post,new{enctype="multipart/form-data"}))前台页面上使用form提交,但是HtmlAttribute必须有这个属性enctype="multipart/form-data"否则上传时提交到后台的Request.Files一直为空,count是0.后台页面收到请求后便可以..
分类:
Web程序 时间:
2014-05-08 10:52:02
阅读次数:
765
在libgdx中加载模型
Loading models using LibGDX
资源准备:
一件模型(你也可以使用你自己的模型):
(来自LibGDX gdx-invaders)
将其解压到android project 的 assets folder 中(包括三个文件,要放在同一目录)
ship.obj: 将要加载的模型文件shi...
分类:
其他好文 时间:
2014-05-08 10:49:37
阅读次数:
307
Java String 字符串的HashCode值
public int hashCode()
Returns a hash code for this string. The hash code for a String object is computed as
s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1]
using int ari...
分类:
编程语言 时间:
2014-05-08 10:44:53
阅读次数:
533
【Entitlements】 Entitlements confer specific
capabilities or security permissions to your iOS or OS X app. You can set many
entitlements using the Su.....
分类:
其他好文 时间:
2014-05-08 10:21:55
阅读次数:
290
#include
#include
using namespace std;
class CPerson
{
protected:
char *m_szName;
char *m_szId;
int m_nSex;//0:women,1:man
int m_nAge;
public:
CPerson(char *name,char *id,int sex,int age);
voi...
分类:
其他好文 时间:
2014-05-08 08:15:08
阅读次数:
250