Arijeet Ghosh

Arijeet Ghosh

  • NA
  • 210
  • 36.8k

How to create a report and see it C#2022...?

Apr 5 2022 4:44 PM

Sir/ Maam I have used the printpreviewcontrol and coded as...

PRintPreviewControl p=new printpreviewcontrol();

bitmap b=new bitmap(Bitmap.FromFile("e:/gf.bmp");

Rectabngle r=new rectangle(0,0,b.Width,b.height);

p.Document=b;

error: cannot implicitly convert Syste.Drawing.Bitmap to System.Printing.PrintDocument

how to see the print preview and print . how can i create a report....?


Answers (1)