Classic my foot
I am working on some old sheisty ASP code today. Here’s a couple nice nuggets for all the poor souls who have to write VB all day long.
1. Get and use Emil Malinov’s VBSTemplate class. This will give you codebehind / Smarty / Mason -style templates. That means no HTML in your code, silly. There is one additional method you want to add – a Return() method to return the parsed template as a string – you’ll thank me for it.
Next, get Nick DelMedico’s clsDatagrid. That’s right kiddies, an ASP.NET-style datagrid for your “Classic” ASP pages.
Finally, you’ll need a couple fairly basic functions to deal with stuff like select boxes (VBSTemplate will handle the textboxes and textareas.)