Since the "Content" property is represented as a string, you could
populate its contents the same way you would retrieve and populate any
other object from the database using ADO.NET (or LINQ).

On Apr 1, 5:25 am, "Pablo Silvio Esquivel www.pablosilvioesquivel.com/"
<[email protected]> wrote:
> Hello everybody.
>
> In order to insert meta tags in a given page I'm using the following
> C# code in the page load event:
>
>         HtmlMeta metaTag = new HtmlMeta();
>         metaTag.Name = "Keywords";
>         metaTag.Content = "great newbie code, help wanted";
>         this.Header.Controls.Add(metaTag);
>
> It works fine, but I need to read the contents from a database and not
> just the "great newbie code, help wanted" text
>
> Does anybody have a tip?
>
> Thanks.
>
> Pablo Esquivel

Reply via email to