Grid++Report can be used to develop desktop C/S reports and WEB reports (B/S reports). C/S report development is suitable for VB.NET, C#, VB, VC, Delphi, etc. WEB report development is suitable for ASP, ASP.NET, JSP/Java, PHP, thinkphp, etc., and supports all WEB servers and databases. Developing desktop reports and WEB reports share the same development knowledge and resources, greatly improving report development efficiency.
You must first understand grid++report
Controller code // Set report data and you can develop it yourself here <br>
$orderArray ['EmployeeID'] = '01';<br>
$orderArray ['Title'] = 'Manager';<br>
$orderArray ['name'] = 'Zhang San';<br>
<br>
//The data format to be obtained in the report<br>
$xmlReportData = get_reports_xml_byarray ( $orderArray );<br>
$this->assign ( 'xmlReportData', $xmlReportData );<br>
// Report file to be printed<br>
$reportName = '1f.grf';<br>
$this->assign ( 'reportName', $reportName );<br>
<br>
$this->display();
Front-end code<br>
<br>
<br>
<script src="__public__/grid/CreateControl.js" type="text/javascript"></script><br>
<br>
<br>
<br>
<br>
<button type="button" onclick="printView();" class="button button-danger">Print report</button><br>
<a href="http://weixin.gsjfjt.com/demo_qyh/grinstall/grbsctl6.exe">Download plug-in</a><br>
<script type="text/javascript"><br />
//Print report function Create report object<br />
CreateReport("Report");<br />
function printView() {<br />
to read the report template<br />
Report.LoadFromURL("__public__/grf/{$reportName}");<br />
//Load report data<br />
Report.LoadDataFromXML("{$xmlReportData}");<br />
Report.PrintPreview(true);<br />
};<br />
<br />
<br />Consult QQ: 409077741<br />
<br />
http://weixin.gsjfjt.com/demo_qyh/index.php/Home/Grid<br />
<br /></script>

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

WebStorm Mac version
Useful JavaScript development tools
