你做成几个frameset的框架,在主frame里进行页面切换 ,不就 可以 了吗<frameset rows="15%,85%" border="0" frameborder="0" frameSpacing="0">
<frame src="StartTop.htm" scrolling="no" noresize>
<frameset border="0" cols="18%,82%">
<frame src="StartList.aspx" scrolling="no" noresize>
<frame name="1" src="Main.aspx">
</frameset>
</frameset>
<frame src="StartTop.htm" scrolling="no" noresize>
<frameset border="0" cols="18%,82%">
<frame src="StartList.aspx" scrolling="no" noresize>
<frame name="1" src="Main.aspx">
</frameset>
</frameset>
you can find the fellowing string in every code page using vb.net Public Class MyClass
Inherits System.Web.UI.Pageyour own functions and subs declare to be public: public Function FunctionName() As type End Function
public sub subname() as type end subat the other page you can dim xxx as new MyClass()
or protected xxx as new MyClass()
or private xxx as new MyClass()
xxx.functionname()
xxx.subname()
to evoke the function or sub you want
in addition
you can declare your own class : yourname.vb or yourname.cs then
or protected xxx as new MyClass()
or private xxx as new MyClass()
xxx.functionname()
xxx.subname()