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
140
PerformAutoResize After Removing Rows
posted

Would there be an issue with using PerformAutoResize after removing rows from a dataset?

Here is what I am doing.

  • I populate my dataset
  • I remove some duplicate rows from the tables.
  • I then create relationships between each table.
  • Set the dataset to the .DataSource
  • The .PerformAutoResize(PerformAutoSizeType.AllRowsInBand, True) is done in the InitializeLayout event for each band.

The last step is where it hangs. I have never had a problem with it in the past but since I have added the piece to remove duplicate rows in the datatable, I have run into trouble.

Any Ideas?

Jeff

Parents
No Data
Reply
  • 469350
    Offline posted

     I can't see any reason why removing rows would cause a problem. So you are saying that if you comment out the code that removes the duplicate rows it works fine? 

Children
No Data