data table dispose

  1. ALX

    Disposing Data Tables

    I'm attempting to clean up some MVC code to make sure no memory leaks exist. I have a few processes where a Controller sends a data table or two to a View in ViewBag so the page can display the data records. At that point, I no longer have Controller access these data tables to dispose them...