<%@ Page language="c#" Codebehind="sfgl_index.aspx.cs" AutoEventWireup="false" Inherits="wjj.sfgl_index" SmartNavigation="true"%>Codebehind="sfgl_index.aspx.cs"为要调用的源码文件。 

解决方案 »

  1.   

    1、Use visual Studio.net to add a web form,right click the form,select view codes,you can see the .vb file,and both the .aspx and .vb file are automaticly generated by visual Studio.net,do not need to do anything else.
    2、you can also write following codes in your .aspx file:  <%@ Page Language="vb" AutoEventWireup="false" Codebehind="yourvbfile.aspx.vb"
      

  2.   

    1、Use visual Studio.net to add a web form,right click the form,select view codes,you can see the .vb file,and both the .aspx and .vb file are automaticly generated by visual Studio.net,do not need to anything else.
    2、you can also write following codes in your .aspx file:  <%@ Page Language="vb" AutoEventWireup="false" Codebehind="yourvbfile.aspx.vb"