Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print a Datagridview bounded to a list<>

Status
Not open for further replies.

cdvalera

Programmer
Aug 5, 2008
6
EC
Hi experts...

A need to (print / preview) a datagridview bounded to a list<>. How can i do this???

Christian Valera V.
 
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.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top