Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Code and HTML


Message #1 by Ronnie Tripplett <rtripplett@a...> on Tue, 19 Feb 2002 09:11:43 -0600
It was my understanding that the code for an aspx was suppose to go into the

*.aspx.vb page.  However, I've seen no separation using this technique in

any articles (Nor is it explained that way in wrox).  Please help me to

understand the concept and why its not been implemented.

Message #2 by "Alvin Ling" <alvin.ling@i...> on Wed, 20 Feb 2002 08:06:42 -0500
There are a few different ways to do things in ASP.NET.  You can store

your code in your .aspx page or you could use a "Code-Behind", which

separates your presentation (.aspx) from your code (.vb or .cs for C#).

If you have Wrox's "Beginning ASP.NET using VB.NET", check Chapter 15 -

Reusable Code.



There's also a diagram on page 561 illustrating the application design

behind ASP.NET (user controls, code-behinds, pre-compiled assemblies,

etc...)





Alvin





> -----Original Message-----

> From: Ronnie Tripplett [mailto:rtripplett@a...] 

> Sent: Tuesday, February 19, 2002 10:12 AM

> To: aspx_beginners

> Subject: [aspx_beginners] Code and HTML

> 

> 

> It was my understanding that the code for an aspx was suppose 

> to go into the *.aspx.vb page.  However, I've seen no 

> separation using this technique in any articles (Nor is it 

> explained that way in wrox).  Please help me to understand 

> the concept and why its not been implemented.

> 




> $subst('Email.Unsub').

> 

> 










  Return to Index