protected void Page_Load(object sender, EventArgs e) { SetNav("版权设置"); ltTips.Text = "在此,您可以设置版权信息。"; if (!Page.IsPostBack) { TMS.SiteSettingInfo setting = bll.Select(1); if (setting != null) { tbName.Text = setting.Copyright; } } }
protected void Page_Load(object sender, EventArgs e) { SetNav("热词设置"); ltTips.Text = "在此,您可以设置热词搜索,设置的热词将会在搜索框下显示,最多显示10个。"; if (!Page.IsPostBack) { TMS.SiteSettingInfo setting = bll.Select(1); if (setting != null) { tbName.Text = setting.HotSearchWords; } } }