About Print in windows application

how to print the values of winforms not the control
also with the datagridview

plz help