Designer generated code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nakhi

    #1

    Designer generated code

    Hi,
    I once use Web Matrix to write aspx, now I switch to VS.NET, thus have some
    question.
    in VS.NET, there is code secion called "Designer generated code", Is it run
    at compile time(Aspx to DLL), or it is just a part of business logic that is
    run like other code in Subs.

    When u make some object like SQLconnection in designer window, some code
    was added in that secion, these code include some logic.

    Thanx
    Nakhi


  • Kevin Spencer

    #2
    Re: Designer generated code

    It's just like the rest of the code in the class, other than the fact that
    the Designer generated it, rather than you.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

    The more I learn, the less I know.

    "nakhi" <nakhi@sina.com > wrote in message
    news:e8AcrpFaDH A.1872@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Hi,
    > I once use Web Matrix to write aspx, now I switch to VS.NET, thus have[/color]
    some[color=blue]
    > question.
    > in VS.NET, there is code secion called "Designer generated code", Is it[/color]
    run[color=blue]
    > at compile time(Aspx to DLL), or it is just a part of business logic that[/color]
    is[color=blue]
    > run like other code in Subs.
    >
    > When u make some object like SQLconnection in designer window, some code
    > was added in that secion, these code include some logic.
    >
    > Thanx
    > Nakhi
    >
    >[/color]


    Comment

    Working...