You are breaking the Law of Demeter. Just tell the user control what data source you want it to use, and let the user control take care of passing it on to it's data grid view.
Do not let the title mislead you, today’s article is not about greek mythology. As always I will speak about software development. In my last article I introduced the Tell Don’t Ask pri…
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.