Print datagrid values
in C# win app i displayed the d开发者_如何转开发ata's in datagridview, in that i need to print the datagrid values same form without using report or crystal report if any codes
You could loop throught all rows and collumns then send it to the printer?
Check out the PrintDocument class and associated classes. You'll have to loop through your data and draw it to each page using GDI+ calls on each page's Graphics instance.
I don't envy your task. If you provide some concrete information I can help more, perhaps with some example code, but a highly generalized question will receive highly generalized answers.
精彩评论