Создание отчетов (свободный || открытый исходный код) Альтернативы Crystal Reports в [закрытом] Winforms

Простой способ сделать это - предоставить функцию для text() из .initial элементов, которая считывает первый символ у родного брата .name и возвращает его, например:

[115 ]

$('.initial').text(function() {
  return $(this).next('.name').text().slice(0, 1).toUpperCase();
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div class="initial"></div>
<div class="name">Foo Bar</div>

<div class="initial"></div>
<div class="name">John Smith</div>

38
задан 2 revs 23 May 2017 в 12:25
поделиться

11 ответов

You could always roll your own. I'm getting rid of Crystal Reports in our project because currently, we can't update our old reports without upgrading everyone to XP, because we develop in VS 2008, and the new CR doesn't support Win2K. Also, CR takes about 30 seconds to build and load the report, mine is instantaneous.

I wrote my own XML serializer, and I build custom objects that are populated from Lists, DataTables, etc..., serialize the object, load it into an XmlDocument, append an XSLT stylesheet, and write it to a directory containing that XSLT file and any CSS and images. The XSLT file then transforms it to HTML/CSS when the XML file is opened in the user's browser.

I could also probably load it into a WebBrowser control and use one of the free PDF libraries to convert it to PDF and print it. See these threads for more details:

18
ответ дан 27 November 2019 в 03:44
поделиться

Вы можете использовать MS Report Viewer в локальном режиме или с открытым исходным кодом fyiReporting RDL Project

7
ответ дан 27 November 2019 в 03:44
поделиться

Если вы используете Sql Server (любую версию, даже экспресс-версию), вы можете установить Sql Server Reporting Services. Это позволяет создавать отчеты с помощью подключаемого модуля Visual Studio или элемента управления в браузере, а также экспортировать отчеты в различные форматы, включая PDF. Вы можете просматривать отчеты с помощью включенного элемента управления Winforms Report Viewer или использовать все встроенное сгенерированное веб-содержимое.

3
ответ дан 27 November 2019 в 03:44
поделиться

I would suggest that you use the fyiReporting (Forked and Moved Now Current as of 2012) tool if you are looking to replace Crystal Reports. I have used both fyiReporting and Crystal and would have to say that I prefer fyiReporting(though their website is ghetto).

Reasons for choosing fyiReporting

  1. If you want to replace Crystal then you are used to having a Report designer. FyiReporting has its own GUI just like Crystal Reports for creating and running reports(You could just create and distribute reports without building an application).

  2. FyiReports allows you to export the Report as PDF, excel and mht(static web page) just to mention a few.

  3. FyiReports are xml based so the report definition can be saved in a database and altered at anytime.

  4. If you are using .Net FyiReporting has a Web and Windows Forms control for embedding the report in your applications(much like crystal reports). I am not so sure about Java as I am a .Net guy.

Anyway give FyiReports a try.

18
ответ дан 27 November 2019 в 03:44
поделиться

Вы можете использовать файл RDLC , предоставленный в Visual Studio, для определения макета отчета. Вы можете просмотреть rdlc с помощью элемента управления ReportViewer .

Оба компонента поставляются из коробки с Visual Studio.

7
ответ дан 27 November 2019 в 03:44
поделиться

JasperReports: http://jasperforge.org .

openreports: http://oreports.com/ Для размещения файлов jasper.

Не совсем инструмент для создания отчетов, но displaytag - это простой тег Java, который будет генерировать файлы csv, xls и pdf.

http://displaytag.sourceforge.net/1.2/

2
ответ дан 27 November 2019 в 03:44
поделиться
1
ответ дан 27 November 2019 в 03:44
поделиться

Вы можете попробовать реализовать что-то вроде этого: http://www.codeproject.com/KB/cs/reporting__windowsforms.aspx

1
ответ дан 27 November 2019 в 03:44
поделиться

MS 'бесплатный SQL Server 2008 Express (с расширенными службами), похоже, включает службы отчетов.

http://www.microsoft.com/express/sql/download/

Вот как функции отчетов отличаются от полной версии: http : //msdn.microsoft.com/en-us/library/ms365166.aspx

РЕДАКТИРОВАТЬ: Я не

1
ответ дан 27 November 2019 в 03:44
поделиться

Бесплатная попытка использовать назойливый баннер… DevExpress XtraReports и XRCharts. Очень хороший инструмент для разработчиков, отличная поддержка, исходя из собственного опыта.

0
ответ дан 27 November 2019 в 03:44
поделиться

BIRT , Eclipse Business Intelligence and Reporting Tool имеет открытый исходный код

BIRT - это система отчетности на основе Eclipse с открытым исходным кодом, которая интегрируется с вашим приложением Java / J2EE для создания убедительных отчетов. BIRT предоставляет основные функции отчетности, такие как макет отчета, доступ к данным и создание сценариев.

0
ответ дан 27 November 2019 в 03:44
поделиться
Другие вопросы по тегам:

Похожие вопросы: