DEV Community

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

zoltanhalasz profile image
Zoltan Halasz Author

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.

pcoganwu profile image

Thanks Zoltan. You example helped.