Directive different

Discussion in 'ASP .Net' started by Vitamin, Oct 30, 2003.

  1. Vitamin

    Vitamin Guest

    What is different between the directive "src=source.vb" and
    "codeBehind=source.vb"
    ??

    thx~
    Vitamin, Oct 30, 2003
    #1
    1. Advertising

  2. Vitamin

    AW Guest

    > What is different between the directive "src=source.vb" and
    > "codeBehind=source.vb"


    If you place the SRC attribute, the source.vb file is not compiled and you
    must provide it with the ASPX page on the server.

    If you place the CodeBehind attribute, the source.vb file is compiled by
    Visual Studio.net in a DLL, and you must provide juste the DLL and the ASPX
    page on the server (the source.vb file is not needed).
    --
    To reply, remove a "l" before the @ sign.

    AW - MCT, MCSD.Net, MCAD.Net
    AW, Oct 30, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marco Gerlach
    Replies:
    2
    Views:
    6,462
    Marco Gerlach
    Jul 18, 2003
  2. Jim Heavey

    Pgae Directive

    Jim Heavey, Oct 17, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    377
    Jalil Vaidya
    Oct 18, 2003
  3. Carlos
    Replies:
    1
    Views:
    322
    Jim Cheshire [MSFT]
    Aug 17, 2004
  4. Marvin Massih

    NullReferenceException With Different Register Directive

    Marvin Massih, Mar 23, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    122
    Marvin Massih
    Mar 23, 2006
  5. Marvin Massih

    NullReferenceException With Different Register Directive

    Marvin Massih, Mar 23, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    110
    Marvin Massih
    Mar 23, 2006
Loading...

Share This Page