Statement cannot appear within a method...
Error Message:
BC30289: Statement cannot appear within a method body. End of method assumed.
CODE:
Sub Button1_Click(sender As Object, e As EventArgs)
Label2.Text = "The button has been clicked"
End Sub
Sub Page_Load(sender As Object, e As EventArgs)
Label1.Text = "The page has been loaded"
Label2.Text =- ""
SOURCE ERROR:(don't have a clue why this came up when i ran (F5) the program but the above errror message and below came up in IE. YES I AM BEGINNER. PLEASE HELP. (This is from chapter thirteen Pager 92. Working on postbacks.
Source Error:
Line 82: #End ExternalSource
Line 83:
Line 84: Public Sub New()
Line 85: MyBase.New
Line 86: Dim dependencies As System.Collections.ArrayList
|