The following sample code, the database would transfer static variables based SEO details. and we show both the default.aspx page and the product.
Is it true the way I use? What are your suggestions? Thank you.
1. function.cs
public static string sitepar_Site_Keywords = "";
public static string sitepar_Site_Desc = "";
public static string sitepar_Site_Title = "";
public static void GetKeyDescTitle()
{
using (SqlConnection conn = Function.conn())
{
SqlCommand cmd = new SqlCommand("SELECT * From SettingSEO, conn);
SqlDataReader dr = cmd.ExecuteReader();
& ...
Go to the complete details ...