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
855
Removing columns takes a long time
posted

I have the following code to remove a column:

            ultraDataSource1.Band.Columns.Remove(colKey);
            UltraDataBand band = ultraDataSource1.Band;
            while (band.ChildBands.Count > 0)
            {
                band = band.ChildBands[0];
                band.Columns.Remove(colKey);
            }

Removing the column from the final band takes a long time.  My data is setup as follows:
The initial band contains about 30 rows of data, and each of those contains about 30 rows in their child band.  Then each of those child rows has one or two rows in the band below it.

Is there a way to speed up removal of a column?

Thanks.

-Nick

Parents Reply Children
No Data