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
930
Obtain Band structure from dataset
posted

Hi

I am working on a client-webservice application, where the webservice generates datasets passed on to clients, to be bound to wingrid.

On the server side, I need the band structure of the grid - basically band, band.parentband and band.columns, that will be formed when a given dataset is bound to the grid.

Whats the easiest way to obtain such a structure from a dataset ?

I understand Ultradatasource also has a very similar structure. If so, how can the dataset be converted to an ultradatasource?

Many Thanks

Abhishek

  • 48586
    posted

    Hello,

     

    I am just checking about the progress of this issue. Let me know If you need any further assistance on this  issue?

    Thank you for using Infragistics Components.

  • 48586
    posted

    Hello,

     

    UltraGrid automatically generates its band structure based on the assigned data source. So if you use DataSet object, each table become a band and the relations of the DataSet object describe the relations between bands. On the following link you will find simple tutorial of “Binding UltraWinGrid to a programmatically created Hierarchical data ”, which will gives you better understanding between UltraGrid data visualization and data schema of the underlying data source.

     

    http://help.infragistics.com/doc/WinForms/2014.2/CLR4.0/?page=WinGrid_Binding_to_Program_Generated_Hierarchical_Data.html

     

    About UltraDataSource it is designed  is a dynamic data source in the sense that the data can be managed by the component or can be provided by the developer as it is needed. It is more about Loading Data on demand, when you have big amount of data and retrieving it at once cause performance issues because of the bandwidth if the data provider. More about UltraDatataSource you will find on the following link:

     

    http://help.infragistics.com/doc/WinForms/2014.2/CLR4.0/?page=WinDataSource_About_WinDataSource.html

     

    Please let me know if you have any further questions.