Hi Good Guys,
Please help me. I need your help.
In my office I am the only Web Developer. There are no other Web Developer.
I was confused by my co-worker programmers regarding the meaning of Code Behind. They told me there is no such Code Behind.
Please highlight which is CodeBehind from these 2 sets of sample coding:
these are from HTML
-------------------------
There are from ASP.NET Form
Of the 2 sets of sample cpding which one is called CodeBehind ?
Please help me. I need your help.
In my office I am the only Web Developer. There are no other Web Developer.
I was confused by my co-worker programmers regarding the meaning of Code Behind. They told me there is no such Code Behind.
Please highlight which is CodeBehind from these 2 sets of sample coding:
these are from HTML
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<link href="MainStyleSheet.css" rel="stylesheet" type="text/css" />
</head>
There are from ASP.NET Form
Code:
Option Explicit On
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Partial Public Class MasterPage
Inherits System.Web.UI.MasterPage
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Request.IsAuthenticated = False Then
lblWelcome.visible = False
Else
lblWelcome.visible = True
End If
End Sub
End Class
Of the 2 sets of sample cpding which one is called CodeBehind ?
Comment