Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
650
Hierarchical Relation In a table
posted

Hi,

I want to display data from a table such a (ID, ParentID, Description) as a hierarchy. What i did is just create a relation 
ds.Relations.Add("Relation", ds.Tables["MyTable"].Columns["ID"], ds.Tables["MyTable"].Columns["ParentID"], false);

And then use the setdatabinding method.

The result is the freezing of the application on the setdatabinding method.

Am I doing something wrong ??