我做了一个页面(aspx)里面也有<title></title>标记,可是不管我怎么去改都显示“无标题页”这是怎么会事啊!!
 多谢各位

解决方案 »

  1.   

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin.aspx.cs" Inherits="teacher_t_main2"  %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
       <title>
       administrator page
       </title>
        <link href="Admin.css" type="text/css" rel="Stylesheet" />
     <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 00px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-image:  url(../images/beijing/u=3483603458,232837702&fm=0&gp=0.jpg);
    }
    body,td,th {
    font-size: 9pt;
    color: #000000;
    }
    a:link {
    color: #000000;
    text-decoration: none;
    }
    a:visited {
    text-decoration: none;
    color: #000000;
    }
    a:hover {
    text-decoration: underline;
    color: #FF0000;
    }
    a:active {
    text-decoration: none;
    color: #000000;
    }
    .style1 {color: #FFFFFF}
    .STYLE2 {color: #0099FF}
    -->
     </style>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <META   HTTP-EQUIV="Pragma"   CONTENT="no-cache">   
      <META   HTTP-EQUIV="Cache-Control"   CONTENT="no-cache">     
      <META   HTTP-EQUIV="Expires"   CONTENT="0">   </head>
    <body style="BACKGROUND-COLOR: transparent">
        <form id="form1" runat="server">
    <table width="804" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1" height="301" rowspan="2" bgcolor="999999"></td>
        <td width="802" valign="top" bgcolor="#FFFFFF" style="height: 150px"><img src="../images/logo.jpg" width="800" height="150"></td>
        <td width="1" rowspan="2" bgcolor="999999"></td>
      </tr>
      <tr>
        <td height="527" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="284" background="images/fsdj8_com_bbsbg.gif" bgcolor="#86BBF0" style="width: 143px" valign="top"><table  border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                <tr>
                    <td class="STYLE2" style="height: 15px; width: 169px;">
                        欢迎管理员:<asp:Label ID="Label3" runat="server" Font-Size="12px" ForeColor="Red" Text="Label" Height="19px"></asp:Label></td>
                </tr>
                <tr>
                    <td class="STYLE2" style="height: 15px; width: 169px;">
                        <asp:TreeView ID="TreeView1" runat="server" Width="138px" ImageSet="Arrows">
                            <Nodes>
                                <asp:TreeNode NavigateUrl="~/admin/exit.aspx" Target="_parent" Text="退出系统" Value="退出系统">
                                </asp:TreeNode>
                                <asp:TreeNode NavigateUrl="~/Default.aspx" Target="_parent" Text="返回首页" Value="返回首页">
                                </asp:TreeNode>
                                <asp:TreeNode Text="视频管理" Value="视频管理">
                                    <asp:TreeNode NavigateUrl="~/admin/upLoad.aspx" Target="main" Text="视频上传" Value="视频上传">
                                    </asp:TreeNode>
                                    <asp:TreeNode Text="视频修改" Value="视频列表" NavigateUrl="~/admin/videoList.aspx" Target="main"></asp:TreeNode>
                                </asp:TreeNode>
                                <asp:TreeNode Text="公告管理" Value="公告管理" Target="main">
                                    <asp:TreeNode NavigateUrl="~/admin/scrollNoticeAdd.aspx" Target="main" Text="添加公告"
                                        Value="添加公告"></asp:TreeNode>
                                    <asp:TreeNode NavigateUrl="~/admin/scrollNoticeList.aspx" Target="main" Text="修改公告"
                                        Value="修改公告"></asp:TreeNode>
                                </asp:TreeNode>
                                <asp:TreeNode Text="修改密码" Value="修改密码" NavigateUrl="~/admin/adminAlterPwd.aspx" Target="main"></asp:TreeNode>
                                <asp:TreeNode NavigateUrl="~/admin/AddAdmin.aspx" Target="main" Text="添加管理员" Value="添加管理员">
                                </asp:TreeNode>
                                <asp:TreeNode NavigateUrl="~/admin/sycx.aspx" Target="main" Text="实用查询管理" Value="实用查询管理">
                                </asp:TreeNode>
                                <asp:TreeNode NavigateUrl="~/admin/friendLink.aspx" Target="main" Text="添加友情链接" Value="添加友情链接">
                                </asp:TreeNode>
                                <asp:TreeNode Text="滚动图片管理" Value="滚动图片管理" NavigateUrl="~/admin/ImageLink.aspx" Target="main"></asp:TreeNode>
                            </Nodes>
                            <ParentNodeStyle Font-Bold="False" />
                            <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                            <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
                                VerticalPadding="0px" />
                            <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
                                NodeSpacing="0px" VerticalPadding="0px" />
                        </asp:TreeView>
                    </td>
                </tr>
              <tr>
                <td class="STYLE2" style="height: 15px; width: 169px;">
                    &nbsp;</td>
                </tr>
            </table></td>
            <td  allowTransparency=true width="606" colspan="2" rowspan="2" bgcolor="#FFFFFF"><iframe src="Course_add.aspx" name="main" width="630" marginwidth="0" height="500" marginheight="0" scrolling="auto" style="height: 579px; width: 659px;"></iframe></td>
          </tr>
          
          <tr bgcolor="#86BBF0">
            <td align="left" valign="top" background="images/fsdj8_com_bbsbg.gif" id="TD1" style="width: 143px; height: 123px;"><span class="STYLE2"></span></td>
            </tr>
          <tr bgcolor="999999">
            <td height="4" colspan="3" valign="top"></td>
            </tr>
          <tr valign="middle" bgcolor="#187DE7">
            <td height="21" colspan="3"><div align="center"><span class="style1">版权所有 Copyright&copy; 2005-2008 平顶山幸福刺工作室<br />
                技术支持:[email protected]
            </span> 
          <tr bgcolor="999999">
            <td height="2" colspan="3" valign="top"></td>
          </tr>
        </table></td>
      </tr>
    </table>
    </form>
    </body>
    </html>
      

  2.   

    你试试这样写<head id="Head1" runat="server"></head>
    再在page_load事件中写上Head1.title="administrator page";
    要是不能的话,我就不知道了。愚见,谢谢