After reading the development of N multiple dnn modulesArticleFinally, we can see it in my favorite codeproject.
Http://www.codeproject.com/aspnet/LCTDNNModDev.asp
This article is suitable for me. After more than one day of study, we can barely develop modules. I also have some knowledge about some secrets of dnn.
Review, there are two places to note: I use dnn 4.5.5, And the vs2005 template also installs dotnetnuke_04.05.05_starterkit. After creating a module using the template, to manually change the two errors, one is if (...) write the uppercase I to lowercase.
There is also a comment starting with a single quotation mark in the next line. Change the single quotation mark //.
These two errors are correct in VB, and must be changed in C.
When I fill in the key in the dnn definition Module window, I am curious about where the word "edit" is displayed, So I intentionally fill it as "edit". Later, here we can see where it appears.
I have not performed any other operations on the module created by the vs template,Code"<Module name>" already exists. In this article, reflection technology is used. I tried it specially. After using a template to create a module, the "reflection" has passed. Cannot figure it out. We thought dnn operations were required.
There is also an unclear understanding of reflection. Createobject. This is in the dnn code.
In the module uninstall of dnn, even if the delete files check box is selected
Delete the stored procedures and tables in the corresponding database (only version 4.5.5 is tested ).
In addition, after installing the dnn module development template, sometimes vs2005 prompts that the template cannot be found. In this case, follow the error prompt to create a directory, copy the template.
In order to solve this problem, I checked a lot of information, there is a full http://www.cnblogs.com/wintersun/archive/2007/03/08/667829.html
If you still cannot solve the problem by using their methods, you can try this method.