B
Bob Day
Using VS 2003, VB.NET, SQL MSDE..
I am stumped. I have a datagrid with a parent/child relationship between
two tables. If I add 200 rows from code in the same win form to the child
table with only the parent table displayed, it works fine, and then you can
display the child table and all data is as expectect.
If I display the child table, and do the exact same thing, try to add 200
rows, only a a few (max 10) are added and displayed, and then I get error
messages like below at the "form.showdialog" that displayed the win form to
begin with:
This is the 1st error after about 10 rows added
System.NullReferenceException - object refereced not set to an instance of
an object
If you hit continue, you get this error next
System.runtime.interopservices.SEHException - external component has thrown
an exception
These are using DataAdapters created in component designer, with max
connections set to 800 in my SQL string to avoid know bug of connections not
being released.
What is up?
Bob Day
I am stumped. I have a datagrid with a parent/child relationship between
two tables. If I add 200 rows from code in the same win form to the child
table with only the parent table displayed, it works fine, and then you can
display the child table and all data is as expectect.
If I display the child table, and do the exact same thing, try to add 200
rows, only a a few (max 10) are added and displayed, and then I get error
messages like below at the "form.showdialog" that displayed the win form to
begin with:
This is the 1st error after about 10 rows added
System.NullReferenceException - object refereced not set to an instance of
an object
If you hit continue, you get this error next
System.runtime.interopservices.SEHException - external component has thrown
an exception
These are using DataAdapters created in component designer, with max
connections set to 800 in my SQL string to avoid know bug of connections not
being released.
What is up?
Bob Day