المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Printing a datagrid



C# Programming
11-22-2009, 01:54 AM
I have a data grid viewer populated from a SQL Server stored procedure which returns any number of columns from a minimum of 4 to a maximum of unknown columns.

I need to have the ability to print the entire grid.
This I can do.

However, to print the grid to specifications
-- I need to be able to print it on pages the size of 42x36 and 72x72.
-- I need to be able to visually scale the entire grid to one page?

Please help. what needs done for this ability?