Using EF Oracle Sample Provider with EDM Designer (from msdn)Many people are asking if it is possible to use EFOracleProvider with EDM Designer in Vis...
分类:
数据库 时间:
2014-07-03 00:29:01
阅读次数:
412
总是听到身边的同事说起Linq ,知道上学的时候学过,可是自从毕业之后就再也没用过,总觉得是很牛的技能 ,可是当自己真正学会用的时候才发现,我去,So easy 。废话不多说直接上代码吧 var list1 = (from f in listFund ...
分类:
其他好文 时间:
2014-07-03 00:00:31
阅读次数:
225
Apart from syntax, there are some differences when writing scripts in C# or Boo. Most notable are:除了句法规则, 使用C#或Boo编写脚本还有一些不同,当.需要特别注意的是:1. Inherit fro...
分类:
其他好文 时间:
2014-07-02 23:22:00
阅读次数:
307
usingSystem;usingSystem.Web;usingThoughtWorks.QRCode.Codec;usingThoughtWorks.QRCode.Codec.Data;usingThoughtWorks.QRCode.Codec.Util;usingSystem.IO;usin...
分类:
Web程序 时间:
2014-07-02 23:11:25
阅读次数:
320
所谓分页,从数据库中分,则是封装一个分页类。利用分页对象进行分页。但,分页往往带查询条件。分页类的三个重要数据:【当前页码数】,【数据库中的总记录数】,【每页显示的数据的条数】原理:select * from 【表名】 where 【字段名】 like 【'%条件%'】 limit 【开始查询的索....
分类:
系统相关 时间:
2014-07-02 23:06:39
阅读次数:
301
ListView之SimpleAdapterSimpleAdapter的构造函数是:public SimpleAdapter (Context context, List> data, int resource, String[] from, int[] to)参数context:上下文,比如thi...
分类:
移动开发 时间:
2014-07-02 22:23:04
阅读次数:
273
U3d连接SQLServer首先把Unity安装目录下的System.Data.dll拷到工程的Asset/Plugins目录下,然后编写连接数据库的脚本,在以上两个步骤无误的情况下,提示这个错误,要考虑SQLServer的相关服务有没有开启,同时要在SQLServer的配置管理器中启用TCP/IP...
分类:
数据库 时间:
2014-07-02 22:19:04
阅读次数:
326
随用随想,随用随记。通过实际应用掌握SQL语句。一. SQL分页1. 第一种方法:利用ID大于多少进行筛选SELECT TOP 20 *FROM dbo.WMS_StockWHERE ( Rk_SkuCode > ( SELECT MAX(Rk_SkuCode) FROM ( SELECT TOP ...
分类:
数据库 时间:
2014-07-02 21:47:36
阅读次数:
309
Query session.createQuery(String hql)方法; * hibernate的session.createQuery()方法是使用HQL(hibernate的查询语句)语句查询对象的。 * hql:是查询对象的,例如:"from User",其中from不区分大小写,而U...
分类:
系统相关 时间:
2014-07-02 21:17:44
阅读次数:
265
#! /usr/bin/python#! -*- coding:utf-8 -*-import osdef SplitFile(cnt): path='e:\data' filename=path+'\\qunti_deal.txt' os.chdir(path) i=0 n=0 siz...
分类:
其他好文 时间:
2014-07-02 21:15:42
阅读次数:
228