I create a linq query and i want to it display in stireport. what do i do?this code dont work ,with run this code just a empty stireport displayed.
usin(NorthwindEntity db=new NorthwindEntity())
{
var query=from e in db.Employees
where EmployeeName=="Alek"
select e;
stireport1.RegData("myquery",query);
stireport1.Show();
}
linq query bind to report
Re: linq query bind to report
Hello,
Please check the sample project in attachment.
Thank you.
Please check the sample project in attachment.
Thank you.
- Attachments
-
- LinqToSql.Net.zip
- (24.95 KiB) Downloaded 486 times
-
- Linq.zip
- (14.52 KiB) Downloaded 436 times
Re: linq query bind to report
Hi Aleksey,
You need a `Data From User Sources` Data Source in the report, but what kind of connection you have used?
Thanks you.
You need a `Data From User Sources` Data Source in the report, but what kind of connection you have used?
Thanks you.
Re: linq query bind to report
Hello,
In this case uses DataSet which registered with RegData() method.
Thank you.
In this case uses DataSet which registered with RegData() method.
Thank you.