This is my first attempt with the beginners walkthrough using the VWD2005 beta 2. Overall I'm getting a handle on it but I made a mistake sometime back in the DataList/DataSource lessons that keep coming back to haunt me. The following is the statement I get when I try to run the site:
Server Error in '/WebSite1' Application.
Could not find control 'DropDownList1' in ControlParameter 'state'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Could not find control 'DropDownList1' in ControlParameter 'state'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Could not find control 'DropDownList1' in ControlParameter 'state'.]
System.Web.UI.WebControls.ControlParameter.Evaluate(HttpContext context, Control control) +567
System.Web.UI.WebControls.Parameter.UpdateValue(HttpContext context, Control control) +43
System.Web.UI.WebControls.ParameterCollection.UpdateValues(HttpContext context, Control control) +100
System.Web.UI.WebControls.SqlDataSource.LoadCompleteEventHandler(Object sender, EventArgs e) +41
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnLoadComplete(EventArgs e) +72
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5214
Like the instructions stated I had changed the 'DropDownList1' to 'stateDropDownList'. Could someone please inform me how I can repair this error? Thanks.