26 Aug 2009

ASP.NET Web Form Code Blocks

Just found this neato summary of all the different ASP.NET web form code-block / data-binding syntax options, i.e. <%= , <%# etc.


It was nice to put a name to the different syntax types :) Also, I didn't know about the ability to register C# variables inline i.e <object id="DateOfBirth" class="System.DateTime" runat="server"> , although I'm not sure when I would use it :)

Also, this blog posting helped clear up my "voodoo" perception of the Container and Eval syntax available when databinding in a template:


No comments:

Post a Comment

Comments are very welcome but are moderated to prevent spam.

If I helped you out today, you can buy me a beer below. Cheers!