Hi here you can add it by code in c#
You need to just fetch value for proper metatag.
FOr example i have created robots meta tag and value noindex,follow is taking from database.
HtmlMeta meta = new HtmlMeta();
meta.Name = "robots";
meta.Content = "noindex,follow";
this.Page.Header.Controls.Add(meta);