昨天接到老大的任务,因为做SEO,好像是用到了Title,keywords,description,要动态去实现
然后我就开始整了
1、在母板页的cs文件中写如下:
protected string _titles = "";
public string Titles
{
get { return _titles; }
set { this._titles = value; }
}
protected string _keyword = "";
public string KeyWord
{
get { return _keyword; }
set { this._keyword = value; }
}
protected string _description = "";
public string Description
{
get { return _description; }
&nbs