当前位置: 代码迷 >> ASP.NET >> 问一很菜的有关问题,请看看是咋回事
  详细解决方案

问一很菜的有关问题,请看看是咋回事

热度:5850   发布时间:2013-02-26 00:00:00.0
问一很菜的问题,请各位高手看看是怎么回事啊
我在ASPX页面上加了一个LABEL标签
<head>
        <title> <asp:Label   ID= "biaoti "   runat= "server "   text= "biaoti "/> </title>
</head>
然后对LABEL赋值   biaoti.Text=sdr[ "className "].toString();

结果页面上显示的是这种情况
<head>
        <title> <span   id= "biaoti "> 论坛热贴 </span> </title>
</head>
  请问是什么问题啊,我想了多久都想不出来!!!


------解决方案--------------------------------------------------------
this.Page.Title = sdr[ "className "].toString();
  相关解决方案