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
4695
multiple Bands with datatable
posted

Dear all,

If I have two datatables in one dataset, how to setup the relation between these two datatables so that when I assign the dataset to ultragrid1.datasource, there will have two bands?? What should the code be for ultragrid with multiple bands in assigning two datatables relationships???

Parents
No Data
Reply
  • 3707
    posted

    The line of code that achieves a relationship in a DataSet is below.

    dataSet.Relations.Add(dataSet.Tables["Customers"].Columns["customerId"], dataSet.Tables["Orders"].Columns["customerId"]);

Children