Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Dynamic Websites w/ Web Matrix
This is the forum to discuss the Wrox book Beginning Dynamic Websites: with ASP.NET Web Matrix by Dave Sussman, James Greenwood, Alex Homer, Colt Kwong, John M. West; ISBN: 9780764543746
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Dynamic Websites w/ Web Matrix section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 16th, 2006, 05:45 PM
Registered User
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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





Similar Threads
Thread Thread Starter Forum Replies Last Post
About Method VeradisSanthanam ASP.NET 2.0 Basics 1 June 19th, 2007 06:52 AM
method amit_p_patel VB How-To 2 May 25th, 2007 01:46 AM
Why is this method placed in filip BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 August 25th, 2006 09:40 PM
Best method rastham SQL Server 2000 2 February 16th, 2006 12:59 AM
Method StanArtis BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 December 6th, 2004 06:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.