ALX
Well-known member
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 after the fact. I've read a lot conflicting advice about how data tables do not need explicit disposal. Agree or disagree ???