Peter Kiers
asked on
Question about xml
Hi,
I am using a treeview and the treeview-nodes will be loaded from a xml-file.
It uses a DataSet to do this.
1. Is there a tool where i can check the syntax of my xmlfile?
2. I have an error message:
"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints."
And I don't know what it means and what to do about it?
Who knows the answer and is willing to help me?
Peter
I am using a treeview and the treeview-nodes will be loaded from a xml-file.
It uses a DataSet to do this.
1. Is there a tool where i can check the syntax of my xmlfile?
2. I have an error message:
"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints."
And I don't know what it means and what to do about it?
Who knows the answer and is willing to help me?
Peter
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
When I put: dsStore.EnforceConstraints =true
my app execute but i get the data loaded in the treeview TWICE
P.
my app execute but i get the data loaded in the treeview TWICE
P.
ASKER
Found it.
ASKER
I have typed: dsStore.HasError. But the only thing that happens
is that my app executes. But I see no error.