Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem with codeProblem with code
Previous
 
Next
New Post
11/28/2008 3:00 AM
 

Ok, I have a issue and need some help.  I have went through many tutorials on how to develop a module and I have done it several times.  I understand all the layers of the module and I know how to create the module.  The problem that I'm having is that I don't know vb.net or C#.  So, I know I want my module to look like, I know what fields need to push and pull data from the DB, but I don't know how to write the code to do it.  Any suggestions?

I have used Codesmith and created a module, but it only allows me to post data to a table and display that on the screen.  I don't know how to modify the code to make the module do what I want.  For example, I would love to create some drop down list that pulls from other tables and then allows me to select a value and post to a new table. 

So, basically, I don't know how to write the code and want to know where to study or learn the code. 

Thanks,
Jordon Shaw

 
New Post
11/28/2008 3:18 AM
 

Jordon,

I confess, that most of the DNN tutorials expect knowledge of either VB.Net or C#. I suggest to get a introductory book on ASP.Net, I suggest using vb.Net, it will make it easier for you to read code from the core framework and most of the modules, which are great examples when learning module programming. There are as well a number of tutorials at www.asp.net you might want to check out.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2008 3:19 AM
 

Hi Jordon,

 

I'm afraid there is a bit more to it than that.  Learning to write code is fine when dealing with something static like HTML or something like that, you simply learn the syntax and bob's your uncle.

Unfortunately when it comes to object orientated languages like VB and C# there are a lot of underlying concepts that you would have to understand before the code makes any sence.  I would suggest you start by getting a book on "Object Oriented Programming" to familiarise yourself with concepts like inheritance, objects and methods that inteact with the object attributes etc. heck the terminology alone will be a major stumbling block for anyone that does not know how to program, as you inevitably would have to know what an author is referring to and also for you to be able to get your point accross to someone else.  Here is one simple example. "an Object refference not set to an instance of an object"  very simple for anyone to understand exactly what that means, at least for programmers it is.

Once you understand the basic underlying concepts then and only then will you be able to pick up a book like "VB for Dummies" and be able to start learning the language. this is the easy part.

I hope this has helped you, and I do hope that you persue this avenue.

 

P.S. "Object refference not set to an instance of an Object" for me is a totally unacceptable error message for any user to see, as that is plain slack programming that causes these errors.  Why I see so many of these message on DNN is beyond me? this is the type of things you would expect form someone that does not have an underlying understanding of OO programming and design, not from professionals, especially *cough* MVP's *cough*

 
New Post
11/28/2008 11:04 AM
 

The other option for DNN is to use one of the 3rd party solutions that allow you to do DB manipulation without extensive programming skills.  For example, http://www.openwebstudio.com/ is an open source and free freame work that allows you to create data entry and reporting with minimal DB skills.  Another option is XMOD which runs about $70 on snowcovered.  Both of these module are pretty extensive and will allow you to extend the functionality of your site without learning .Net.


Eric Shafer
Houston Web Designer
Click and Create

281-206-2631
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem with codeProblem with code


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out