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. Advertisements

  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. Advertisements

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. Tigerhillside
    Replies:
    3
    Views:
    620
    Joe Smith
    Feb 23, 2004
  2. AD
    Replies:
    1
    Views:
    1,163
    Francis Shanahan
    Aug 23, 2003
  3. Carlos
    Replies:
    1
    Views:
    399
    Jim Cheshire [MSFT]
    Aug 17, 2004
  4. chanmmn
    Replies:
    2
    Views:
    400
    Gawel
    Sep 7, 2004
  5. Nita Raju
    Replies:
    1
    Views:
    374
    Chris Hyde
    Dec 15, 2004
  6. =?Utf-8?B?ZGF2aWQ=?=
    Replies:
    4
    Views:
    545
    =?Utf-8?B?ZGF2aWQ=?=
    Dec 9, 2005
  7. Marvin Massih

    NullReferenceException With Different Register Directive

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

    NullReferenceException With Different Register Directive

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