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
810
Is it possible to create a dynamic grid hierarchy?
posted

If I fill a dataset via tableadpaters with several tables and their schema and assign the dataset to a bindingsource, is it possible to give the bindingsource to the grid datasource and one of the table names to the grid datamember and have it automatically show the hierarchy of the tables assuming the proper constraints and tables were defined? I can do this with a typed dataset sample but notice the grid wizard defined all the bands. In the code where I would like to get the grid to work in a hierarchial fashion, I am using a regular dataset and am not defining bands as I do not necessarily know how many there on a given table and would rather have the grid figure that out rather than have to do it in my code. Is this sort of thing possible or must I define all the bands? Thanks, Dave

Parents Reply Children