Author: eagle_f90 | Posted on: 9/10/2010 6:54:21 AM | Views : 236

I was given a chunk of code to help with accessing dynamic forum controls about a week back and when I implemented the code I get the error "Object reference not set to an instance of an object". I asked in the thread the code was given but have not recived an answer yet (asked about 4 days ago) and I think that is beause  the thread is marked as resolved. The line of code  causing the error is
 
if(t.Equals(this.ddlAmountToAdd.ClientID)&&!string.IsNullOrEmpty(v)) 
 
And here is the full code for the c# .Net 4 page.
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class GameInformation_AddUpcomingRelease : System.Web.UI.Page { public string[] Regions = { &quo ...

Go to the complete details ...