Author: tcreynolds | Posted on: 6/15/2009 7:03:03 AM | Views : 417

I'm trying to make the contents of the second dropdownlist dependent on what someone chooses in the first dropdownlist within a detailsview control. However, right now all I get when I try and switch what is in the first dropdownlist is "Object reference not set to an instance of an object." The bug points to line 49 of the below C# code. Any ideas?
C#:
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Web.UI; 6 using System.Web.UI.WebControls; 7 8 public partial class Management_ManageListing : System.Web.UI.Page Go to the complete details ...