I need help with in program... The part I need help is, I wont my datagridview data to show on print prieview.
I have in form that retrieve data from SQL using a datagridview, but i also wont in to show up in a print preview, when I click a button. Can some please help.
There are two examples that I can think of off hand that will print the datagridview data. One is here, converted by Berthold Simon on post #10. The other is here, posted by .paul. . I've personally used the one in the first link many of times, where as I've only glanced at the one submitted by .paul.
I still having in hard time with it. I tried the example you mention. But when I input my own datagridview table, it throw me a error. Can someone please help. The code you mention, look like to br the one. But I it still not show print preview for me.