2016年11月23日

mac下安装scrapy的各种艰辛

摘要: Mac下scrapy 安装 阅读全文

posted @ 2016-11-23 20:54 谭一丹 阅读(467) 评论(0) 推荐(0) 编辑

2016年9月14日

web下视频播放

摘要: web 视频播放 阅读全文

posted @ 2016-09-14 11:58 谭一丹 阅读(316) 评论(0) 推荐(0) 编辑

2014年8月12日

Spring.net-简易的IoC框架

摘要: 两个类:public class Person { public string Name { get; set; } public int Age { get; set; } }public class PersonDao { private... 阅读全文

posted @ 2014-08-12 11:47 谭一丹 阅读(187) 评论(0) 推荐(0) 编辑

2014年8月11日

构造函数注入

摘要: namespace SpringNetZhuru{ public class Person { public string Name { get; set; } public int Age { get; set; } public Person Friend { get; set; } }}nam... 阅读全文

posted @ 2014-08-11 16:52 谭一丹 阅读(747) 评论(0) 推荐(0) 编辑

2014年7月14日

给vs2010中内置sqlserver2008添加了一个添加了一个管理界面后ADO.NET FrameWork Entity连接不上sqlserver2008

摘要: 给vs2010中内置sqlserver2008添加了一个添加了一个管理界面后ADO.NET FrameWork Entity连接不上sqlserver2008在selserver2008管理界面中能够正常操作数据库,在vs2010中也能够正常使用内置sqlselver2008,但是vs2010却连接... 阅读全文

posted @ 2014-07-14 16:58 谭一丹 阅读(208) 评论(0) 推荐(0) 编辑

2014年6月24日

silverlight中使用富文本编辑器

摘要: 因为项目的需要在silverlight项目中使用富文本编辑器,好用的在线富文本编辑器有很多Fckeditor,百度的ueditor,但是这些富文本编辑器都是html的,想在silverlight中使用必须承载html页面再使用这些富文本编辑器。之前找到了一个在silverliht中承载html页面的... 阅读全文

posted @ 2014-06-24 18:07 谭一丹 阅读(619) 评论(2) 推荐(0) 编辑

2014年3月20日

oracle中函数的使用

摘要: 函数: 作为表达式的一部分调用; 必须在规范中包含 RETURN 子句; 必须返回单个值; 必须包含至少一条 RETURN 语句。有这样的需求,根据身份证号,获得年龄create or replace function getAge(p_IDcard varchar2) return integer isIDcardlen integer;IDcardyear integer;begin IDcardlen :=Length(p_IDcard); if IDcardlen = 18 then IDcardyear := to_number(substr(p_IDcard... 阅读全文

posted @ 2014-03-20 17:05 谭一丹 阅读(262) 评论(0) 推荐(0) 编辑

.net中使用oracle创建的存储过程

摘要: 存储过程(Procedure)create [or replace] procedure pro_name[(parameter1 [mode] datatype,parameter2 [mode] datatype, ...)]is/as.....//声明部分begin....//函数主题exception....//异常处理end;Demo:无参:create or replace procedure pro_peoinfo is cursor ci is select t.name,t.age from tbpeoinfo t ;begin for cc in ci loo... 阅读全文

posted @ 2014-03-20 17:02 谭一丹 阅读(226) 评论(0) 推荐(0) 编辑

2014年1月21日

SilverLight之旅(3)

摘要: 今天在网上看到了一个朋友提到isWindowless属性的问题,提一下我的看法:isWindowless属性是一个boolean 值,如果设为true的话,silverlightr的内容就会在html内容的下面渲染当然要配合z-Indelx来使用。如果将它设为false就会覆盖html的内容。 阅读全文

posted @ 2014-01-21 17:40 谭一丹 阅读(129) 评论(0) 推荐(0) 编辑

silverlight调用html中的js方法

摘要: 在承载silverlight的html页添加代码: var map = null; function GetMap() { map = new VEMap("mapDiv"); map.LoadMap(); } function MoveMap(strwhere) { try{ map.Find(null,strwhere); } catch (e) { alert(e.Message); } }在id为silverlightControlHost的div的前面添加一个div代码如下:F5运行:在silverlight的后台给textblock添加事件:private vo 阅读全文

posted @ 2014-01-21 10:30 谭一丹 阅读(208) 评论(0) 推荐(0) 编辑

导航