Server Error in '/questionaire' Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 87: Dim dropdownlist1 As DropDownList = CType(Me.FindControl("ddlDynamic" & i), DropDownList)
Line 88:
Line 89: Response.Write(dropdownlist1.SelectedValue)
Line 90:
Line 91:
Source File: C:\Documents and Settings\Peebman2000\Desktop\wizard\questionaire\d ropdownlistdynmc.aspx.vb Line: 89
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
dropdownlistdynmc.Button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\Peebman2000\Desktop\wizard\questionaire\d ropdownlistdynmc.aspx.vb:89
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Bookmarks