DEV Community

Discussion on: Filter a List in Razor Pages .net core 2.2

Collapse
 
zoltanhalasz profile image
Zoltan Halasz

You have to create a new Asp.Net Core Web Project, add aRazor Page called "Generated". This will contain the three filters and table. The above was just an example, no specific sample project is attached. There is then a table in the context, called "GeneratedDetail" which can be then filtered using linq or foreach as above.

Collapse
 
pcoganwu profile image
pcoganwu

Thanks Zoltan. You example helped.