I am trying to create a thread that runs a SQLCommand and binds that results to a Chart. When I run the code I get an Exception... "Object reference not set to an instance of an object." Here is a sample of my code. The exception occurs at this line of code.
"chtUserCount.Series["Series1"].Points.DataBindXY(ReaderResults, "Day Of Week", ReaderResults, "User Count");"
Any help would be greatly appreciated!
protected void Page_Load(object sender, EventArgs e)
Thread UserCount = new Thread(new ThreadStart(UserCountThread));
SqlConnection AQConnect = new SqlConnection();
//Daily User Count Chart
View Complete Post