[Solved] ASP.NET Core 10 Razor Pages: how to use ObjectDatasource where data source is a method returning a ValueTuple

0 Answers 5 Views
.NET Core DataSource Object Report Designer (standalone)
Nitin
Top achievements
Rank 1
Nitin asked on 14 May 2026, 11:44 AM
I have a class representing a SQL Server stored procedure output. The SP returns two datasets. I have a C# method that takes in parameters and runs the SP. It returns a ValueTuple (2 Lists - 1 each for the SP returned dataset). I tried to assign this method as the data source to an ObjectDatasource in the report (using standalone Report Designer); however I get an unexpected error (screenshot attached). Probably, it doesn't support a ValueTuple since if I connect to the class itself then it connects. If this is the case, what is the workaround?

No answers yet. Maybe you can help?

Tags
.NET Core DataSource Object Report Designer (standalone)
Asked by
Nitin
Top achievements
Rank 1
Share this question
or