Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 October 31st, 2007, 10:53 AM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default Weird Build Errors

I've had this weird problem come up now and again ever since VS Service Pack 1 (although I don't know if it's related).

I get build errors such as the following:

'ddlLicenseType' is not a member of 'Participants'

Name 'ddlLicenseType' is not declared.

And soforth for a bunch of different controlls, all of which are plain old server controls on the ASPX page. The weird thing is, it still runs when accessed from IIS.

Now I've got the exact same website which builds on my laptop in VS2005, but not on the web server from Visual Web Developer (I keep VWD on the server for debugging purposes).

Anyone know what's up with this?

Thanks.

Aaron


 
Old November 2nd, 2007, 03:04 AM
Authorized User
 
Join Date: Aug 2007
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to yukijocelyn
Default

Hi
I assume that you are doing the dropdownlist index changed, perhaps you can try this:

Protected Sub ddlLicenseType_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
    Dim ddlLT as DropDownList = sender
    'from here, do your coding on how you want to further manipulate the data using ddlLT. Â Â Â
End Sub

hope this helps~





Similar Threads
Thread Thread Starter Forum Replies Last Post
Build Errors..Not Sure What to Do?? jazzcatone ASP.NET 2.0 Basics 2 March 8th, 2007 02:24 PM
VC++ Build Errors, Help!!!!!!!!! gothicpurple Visual C++ 0 August 29th, 2006 06:35 PM
build errors in vc++ angel188 Visual C++ 0 June 6th, 2006 06:41 AM
Weird Errors kervinshim Classic ASP Databases 3 April 25th, 2004 04:08 AM
Please Help! Build errors motsam BOOK: ASP.NET Website Programming Problem-Design-Solution 2 February 29th, 2004 10:37 AM





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