nc's world:

天行健,君子以自强不息
地势坤,君子以厚德载物

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  DNN模块开发

vs2003/2005模块开发心得
摘要:最重要的部分共有两处:一个是存储过程,通过fileid把文件名取出来: CREATE PROCEDURE {databaseOwner}{objectQualifier}GetTopics ( @ModuleID int ) AS SELECT . inGuests, 'inImgUrl' = CASE WHEN F.File... 阅读全文
posted @ 2006-12-28 10:04 nicesnow 阅读(306) 评论(0) 推荐(0)

摘要:从前面往后面写:ascx: 1 3 4 5 6 7 8 9 10 11 12 ' onclick='UnCheck(this)' style="background-color:transparent" >13 14 15 ... 阅读全文
posted @ 2006-12-19 11:11 nicesnow 阅读(388) 评论(0) 推荐(0)

摘要:这篇文章的思想的来源是Rob Howard半月前的一篇文章,《Provider Model Design Pattern and Specification, Part 1》,本来想等Rob H把Part II写完然后再一起总结一下的,可等啊等啊,估计这位哥们儿在忙着准备DevDay2004和做演讲,所以一直都没有等到Part II出来。不过R... 阅读全文
posted @ 2006-09-30 11:04 nicesnow 阅读(970) 评论(0) 推荐(0)

摘要:DNN中,处理Log的类有很多。一般,捕捉到一个Exception Log的时候,就会调用ExceptionLogController类,来把该信息封装成一个LogInfo对象,然后,把这个LogInfo对象存放到全局唯一的对象LoggingProvider中,具体存放到LoggingProvider对象的什么成员中呢,是存放到LoggingProvider对象的一个LogInfoArray类型的... 阅读全文
posted @ 2006-09-22 16:16 nicesnow 阅读(466) 评论(0) 推荐(0)

摘要:Introduction This article explains in detail the process of creating a DotNetNuke module. Requirements To use this tutorial, you need: Visual Studio Express (download here) SQL Server Express... 阅读全文
posted @ 2006-09-01 15:15 nicesnow 阅读(431) 评论(1) 推荐(0)

摘要:错误: ArrayList arr = ctl2.GetArticleManagerModules(this.PortalId);int a = Convert.ToInt32(arr).. 直接赋值是不对的,应该察看GetArticleManagerModule这个函数的返回值类型,然后赋值如下: ArrayList a = ctl2.GetArticleManagerModul... 阅读全文
posted @ 2006-08-29 21:06 nicesnow 阅读(829) 评论(0) 推荐(0)

摘要:今天写一个模块,想用duallist实现选择新闻管理模块后,在duallist.Available中列出来所有的分类,然后选择需要的分类到右边的duallist.Assigned列表中,可是绑了一天就是没绑上,郁闷的很呢,不过后来向高手请教终于得解,控件DualList这个控件只在第一次postback中绑定数据 ,所以在方法 private void DrpDwnLstSelModule_Sel... 阅读全文
posted @ 2006-08-25 17:29 nicesnow 阅读(536) 评论(2) 推荐(0)