Hi all, first post..
I've been thrust into DNN with zero background in ASP/.Net/C# etc (but 15 years in C++/Java).
To cut to the chase, I'm modifying the C# version of Michael Washington's ThingsForSale example module, purely as a beginner's introduction to DNN. I have the C# example module running fine, and so decided to make my own (even simpler!) one. I just have a Business Object/"Controller" class (with a single Select method corresponding to a stored procedure in my DB) and Data Object/"Info" class, and the relevant UI/code-behind in which I have an ObjectDataSource bound to my own DB , and a GridView attached to that.
When my GridView populates, only 3 columns populate; two varchar[255] columns and an int column. The other varchar columns and datetime columns do not.
After much experimenting I have found that most of the setters in my "Info" class are not getting called; only 3 are getting called, which means only those properties are getting values. When the getters of those properties are called (when populating the grid) of course the values are null at that point, so the grid displays nothing in those cases.
Because I'm a noob in several areas at once, I'm finding it hard to locate where my problem lies. I've searched the forums here and elsewhere.
I'll post some code if need be, but I'll wait and see if there's a quick solution from someone on the forum first.
Thanks in advance.. hope this makes sense.