although the subject is a HTML page, I'm not sure if this is the right forum.
some time ago i posted a question about the creation of a HTML template for use in a Email in a ASP.net application.
I've got this working now, now follow's the next challenge. a users chooses a radiobutton item (databond from a database), up on the choice he makes a particular HTML template should be used for the mail. There can be a difference in the ammount of variables in a template, for instance one templates hold's just as a variable a name of a person, while a other template also uses name, adres and telephonennumber as a value. What should be the most efficient though flexible way to be able to fill and enummerate all the variables whether it's just one or more, I want to write just one function for all templates sending, but I don't know how this can be accomplisshed. Is it a option to write the properties (ammount of variables) in the database also, or are there other ways?
I hope someone can and will help me.
View Complete Post