读书人

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

发布时间: 2012-01-05 22:36:54 作者: rapoo

问一很菜的问题,请各位高手看看是怎么回事啊
我在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();

读书人网 >asp.net

热点推荐