Sorry buddy but you do and it starts on page two....
Replace ALL the code with the following code:
|
|
Namespace YourCompany.Modules.ThingsForSale
Public Class ThingsForSaleInfo
Private _ModuleId As Integer
Private _ID As Integer
Private _UserID As Integer
Private _Category As String
Private _Description As String
Private _Price As Double
|
etc.....
I don’t understand why one would use the Starter kit then delete the contence of the files. That being said... it's your tutorial "Using the DotNetNuke Website Starter Kit " that interests me but it creates more questions than it answers.
It’s the use of the ObjectDataSource: why doesn’t the class' for the module appear in the ObjectDataSource, but instead need to be typed in? I thought the classes were exposed?
What is the execution sequence? Is the execution path (sequence) button(click)>ObjectdataSource(SelectMethod)>XXXXController.vb >>>not sure from here?? I’m not interested in whether is UI, BI or DAL it's the process that is important. N-tier is a framework which DNN uses but I just want to know the process for getting data in and out of the system
In the ObjectDataSource is the TypeName the name of the class or the parameter (in the XXXcontroller.vb file) ?
Is the select method a Private function in the XXXcontroller.vb file?
Where does the ModuleID, portalID, itemID etc come from?
What is the purpose if the XXXinfo.vb file?? Is this where data cleaning happens and things like moduleID are added?
I've spent several frustrating weeks rummaging through very poor documentation and not getting anywhere so I'm sorry if i've come across as nasty I'm just frustrated.