上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 35 下一页

2013年5月29日

R语言的一些问题

摘要: 0. length(..) 长度函数 1. 从 DateFrame 转化为 DataFrame dfrmTest$X_id 将 dataFrame的 X_id 转为一个list, 然后通过 data.frame 转为一个新的 dataframe test = data.frame( df... 阅读全文

posted @ 2013-05-29 17:19 norsd 阅读(163) 评论(0) 推荐(0) 编辑

2013年5月25日

C# List<T> 泛型的反射, 泛型 函数的反射

摘要: var typeList = typeof(List); Type typeDataList = typeList.MakeGenericType(datatypeTarget.DataObjectType); var vtDa... 阅读全文

posted @ 2013-05-25 20:07 norsd 阅读(824) 评论(0) 推荐(0) 编辑

2013年5月18日

枚举MongoDB某一个数据库的所有对象c# samus

摘要: foreach (var documet in mongoCollection.FindAll().Documents) { BJSON += documet.ToString(); } ... 阅读全文

posted @ 2013-05-18 13:06 norsd 阅读(152) 评论(0) 推荐(0) 编辑

2013年5月17日

MongoDb Samus驱动 避免重复添加

摘要: 使用了Samus作为MongoDb的CS驱动,一段时间一直被不能指定_id感到很困扰,很麻烦,很不爽。 后来看了一篇文章: http://www.cnblogs.com/huangxincheng/archive/2012/03/09/2386054.html 其中描述到可以加入Attribu... 阅读全文

posted @ 2013-05-17 17:07 norsd 阅读(116) 评论(0) 推荐(0) 编辑

2013年5月15日

wpf TabControl TabItem 被点击信息

摘要: ... 阅读全文

posted @ 2013-05-15 08:08 norsd 阅读(2465) 评论(0) 推荐(0) 编辑

2013年5月10日

WPF CodeBehind 草稿

摘要: var column1 = new DataGridTextColumn(); column1.Header = "Hello World"; column1.Binding = new Binding("firstName"); var column2 = new DataGridTe... 阅读全文

posted @ 2013-05-10 15:22 norsd 阅读(187) 评论(0) 推荐(0) 编辑

2013年5月3日

C++/CLI/VC.NET 实现OpenFileDialog的定制,使他可以选择文件夹

摘要: 1.原因 前段时间需要使用OpenFileDialog选择文件夹,google上有c#的办法,比较简单,只要设置Filter=乱七八糟的符号,让所有文件都显示不出来就可以。但是这样总是有点不舒服。让我想起过去在MFC模式下创建的VC的OpenFileDialog定制,需要使用到资源文件(因为系统... 阅读全文

posted @ 2013-05-03 09:47 norsd 阅读(766) 评论(0) 推荐(0) 编辑

2013年4月27日

VC.net 创建 ref class 后, C#调用报错 Cannot create an instance of the abstract class or interface CS0144

摘要: VC.net 创建 ref class 后 C#调用报错 Cannot create an instance of the abstract class or interface CS0144 同样的错误:http://computer-programming-forum.com/... 阅读全文

posted @ 2013-04-27 14:43 norsd 阅读(442) 评论(0) 推荐(0) 编辑

2013年4月23日

c# 工程加入 win32 资源文件

摘要: 这种事情就是一个字烦人,蛋疼,特别蛋疼。 搞了我一天。方法有几种,都特别烦,一个是 build event , 一个是 msbuild今天说 build event1.在 Build Events 中 , Pre-build 输入:copy $(ProjectDir)Time/norlib.... 阅读全文

posted @ 2013-04-23 17:33 norsd 阅读(418) 评论(0) 推荐(0) 编辑

2013年4月20日

期货数据采集的一些问题汇总

摘要: 1. CFFEX IF 数据 , 每秒2笔。 如果没有成交,仅仅委托变动是没有数据的 2. 这类数据是 交易所推送到 期货经纪公司 每秒取2笔。因为不是实时数据,所以有可能每天的开盘第一笔数据的last price 不是open price. 比如: IF1302 2012/12/27 ... 阅读全文

posted @ 2013-04-20 17:11 norsd 阅读(343) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 35 下一页

导航