日期:2014-05-19  浏览次数:20551 次

这个咋帮定啊
页面里有    
<meta   name= "keywords "   content= "这里是要帮定到数据库里的内容 "/>
<meta   name= "description "   content= "这里是要帮定到数据库里的内容 "/>


代码这边
page_load(){

}



------解决方案--------------------
<meta name= "keywords " content= " <%#a1%> "/>
<meta name= "description " content= " <%#a2%> "/>


public string a1= "这里是要帮定到数据库里的内容 ";
public string a2 = "这里是要帮定到数据库里的内容 ";
page_load(){
Page.DataBind();
}


or

<meta name= "keywords " content= " <%=a1%> "/>
<meta name= "description " content= " <%=a2%> "/>


public string a1= "这里是要帮定到数据库里的内容 ";
public string a2 = "这里是要帮定到数据库里的内容 ";