用户控件!具体请参见msdn==================================
弯弯的月亮小小的船,小小的船,两头尖,我在小小的船里坐,只看见闪闪的
星星蓝蓝的天.

解决方案 »

  1.   

    现在他给了我这样一个错误:
    <%@ Register TagPrefix="uc1" TagName="WebUserControl1" Src="WebUserControl1.ascx" %>
      

  2.   

    <%@ Control Language="VB"   %>
    <link href="tablecss.css" rel="stylesheet" type="text/css">
     
    <table width="755" border="1" align="center" cellpadding="0" cellspacing="0" background="pic/footer02.gif" class="table">
      <tr> 
        <td><img src="pic/peixun.gif" width="778" height="80"></td>
      </tr>
    </table>
    <table width="755" border="0" align="center" cellpadding="3" cellspacing="0" background="pic/footer02.gif">
      <tr> 
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#990000" size="2"><strong>主页</strong></font></div></td>
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#000000" size="2">求职信息 
            </font></div></td>
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#000000" size="2">招聘信息</font></div></td>
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#000000" size="2">用户注册</font></div></td>
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#000000" size="2">企业注册</font></div></td>
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#000000" size="2">办事指南</font></div></td>
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#000000" size="2">关于我们</font></div></td>
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#000000" size="2">后台管理</font></div></td>
        <td width="83" background="pic/titlebg.gif"><div align="center"><font color="#000000" size="2">退出网站</font></div></td>
      </tr>
    </table>
    把它保存为*.ascx的文件,,
    然后在index.aspx里用
    <%@ Register TagPrefix="haokoo" TagName="header" Src="header.ascx" %
    这样就可以了,,,,
    行不行呀??
    给分吧1!~
      

  3.   

    In my opinion ,u should use frameset in one page,including top,left and main area!
    so, you could get the static top page!
      

  4.   

    有三个解决方案:
    1、使用框架;
    2、将每个页面的通用部分放在一个Javascript文件中(*.js),然后在需要的地方调用这个js文件;
    3、使用asp.net用户控件。