printing problem

May 6 2009 7:32 AM
i have to Make a GridView with print option (Inherit the GridView control and add a print method). The print button should print all the rows in the gridview. There should an option to print no of rows perpage. . i have to use GDI printing APIs for printing.