printing a gridview and populating the gridview are not related.
the data could be IEnumerable, List<Foo>, Foo[], MySpecialFoo (which implements IEnumerable). that doesn't matter.
as for printing. DataGridView is a scrollable, data container built for forms. I would create a report (reporting services, crystal, excel, word, etc.) to print the information to hardcopy. the datagridview and the report can share the same source of data.
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.