I tried the databinding capability of ganttview, and during our testing, we tried to add thousands of rows, and to our surprise, the next time we load the data, it displays an error "System.NullReferenceException: Object reference not set to an instance of an object at....., please see attached image.
Thanks
Hello LSG,
I have found that the NullReferenceException does not promt up when I eliminate any possibility of selecting null values from the database. I did so by writing a query as well as updating your data adapter in your button. Please see below.
da = New SqlDataAdapter("SELECT * FROM tblProjectTasks WHERE MASTER_ID = 'd5392ed5-a4c5-4aa4-b06c-a0d685e0552b' And TaskCode is not Null ORDER BY SEQNO", cn)
Let me know if you have any questions. Does this display the correct data?
I have no other questions, that is the only problem I am into right now. I opted to use the manual loading of the tasks and it's very slow.
I currently trying to reproduce the issue with sample data without using SQL. I ran into the issue with both your database and a database I created with only 1 task. Please let me know if you have any additional questions.
I am using MS SQL Server 2008 R2 Standard Edition.
I am currently handling your case.
Which version of SQL Server do you have installed? I am currently not able to run the script SQL R2 2008.