chapter 2,try it out page 50
Partial Class Demos_CodeBehind
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) _
Handles Me.Load
Label1.Text = "Hello Worold; The time is now " @ dateTime.Now.ToString()
End Sub
compile error - "end of statement expected"
@ dateTime.Now.ToString() - this is underlined with error "end of statement expected" ?
|