Hi there. I am sorry if this has been asked before but i could not find it on any forumn
I created a module and just to be on the safe side, I added ItemID, ModuleID, CreateByUser and CreatedDate as Columns to my table and then went ahead and generated the Info, Controller, SQLDataprovider and Dataprovider with the modified SeaburyDesign CodeSmith templates as shown on the videos.
Fair enough, i had to make some Namespace adjustments, but then i ran into a problem on the ViewXXX.ascx.vb class. The PageLoad method is asking for
colImageLinkBannerss = objImageLinkBannerss.GetImageLinkBanners(ModuleId)
However, the autogenerated GetImageLinkBanners method that signature is.
Public
MustOverride Function GetImageLinkBanners(ByVal itemID As Integer, ByVal moduleId As Integer) As IDataReader
The problem now is that the ItemID is unavailable at the PageLoad method. Commenting this out will only solve the problem in the short run.