1) I am pulling meta tag contents from a database using routine below.
2) It creates and fills the meta tags but when using a link checker program it does not find any of the meta tag contents.
3) At the bottom is the HtmlTextWriter routine I am using to generate the .htm page.
I pasted HTML exactly as it generate except I cut out several .style definitions. Meta Tags are generated after the .styles. I do not know why. Should I call the routine in the PreRender? I ran a Meta Tag Analyzer and it did see the <title> or any of the Meta Tags.
SqlDataReader reader = cmd.ExecuteReader(CommandBehavior.SingleRow);
CatName = Convert.ToString(reader.GetString(1));
MTitle = Convert.ToString(reader.GetValue(2));
MDesc = Convert.ToString(reader.GetString(3));
View Complete Post