Quantcast
Viewing all articles
Browse latest Browse all 1507

RE: print direct not work

It just working at local with default printer but not work when I upload on IIS, here is my code

....
rptDoc.Load(Server.MapPath("~/reports/academic.rpt"));                
                Common.SetConnectionInfo(rptDoc.Database.Tables);
                rptDoc.SetParameterValue("@id", id.ToString());
                rptDoc.SetParameterValue("@nienkhoa", strMaNienKhoa);              
                rptDoc.PrintToPrinter(1, false, 1, 1);


Thank you for reading my topic


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>