I have got a web blog application
the person who has designed it has put all the code in app_code vb
how is that? he has ot used codebehind he has just referenced from the pages to the classes like this: inherits="myNamespace.blog"
what is the advantage?is it more professional?
is the any good article about this object oriented programming
here is some sample code:
Public Class Blog
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Private designerPlaceholderDeclaration As System.Object
Protected WithEvents LblMember As System.Web.UI.WebControls.Label
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
LblMember.text = "title"