Search code examples
c#crystal-reportsviewmodel

Standalone Crystal Reports with a .NET C# ViewModel


Im using standalone version of Crystal Reports 2016. In the integrated visual studio version you can connect to a datasource which is a view model from the project. I cant see how to do this in the standalone version. Given they produce the same file and I can open either type with either option, it should be possible.

Can anyone advise which datasource option to select to use standalone with .net models.


Solution

  • Crystal Reports Designer cannot access a ViewModel in your application.

    You would need to materialize the data into a standard data source (database table, CSV, Excel, ...) in order for Crystal Reports Designer to have access to it.