Posted by
John Harman on
7/8/2009 5:37 PM |
Comments (0)
Well I have run into this a few times in the past, however as always I forget what the error meant. I googled as usual and found a guy called Derik Whittaker describing exactly the same issue, however his fix was to do with the foreign key as well as the mapped object. Now my mappings didn't h...
[More]
I was at work the other day, just about to put a Panel below my repeater and write more code to handle if the source of the repeater didn't have any items in it, when I thought why not extend the repeater control and add an Empty template. I don't know why I've never thought of doing t...
[More]
Using NHibernate I get this now and again and I always forget why. The reason is often because it doesn't know that an item you have added should be auto saved, make sure you double check the unsaved-value attribute and that when your class has the correct default value, basically the same as ...
[More]
Posted by
John Harman on
4/15/2009 6:40 PM |
Comments (0)
I've shown you the strongly typed repeater which I use to help make my code less error prone and it also speeds my programming because I can stay in the presentation layer for longer because of the intellisense given to me and removes the need to keep adding logic into the code behind for a pa...
[More]
Why? for one you get intellisense within your ItemTemplate and AlternatingItemTemplate, I can quickly bring up a list of the properties on the business object I'm binding (saves me trying to remember it or look up the class to double check not to mention the run time errors that are caught a lot...
[More]