Declare your ObjectDataSource using lambda expressions(blog.lavablast.com)
submitted by
EtienneTremblay(5008) 3 years, 5 months ago
Configure your ObjectDataSource TypeName, SelectMethod, SelectParameters from a lambda expression. Here is a simple example:
ObjectDataSource ods;
ods.SetSelectMethod<ProductController>(ctrl => ctrl.FetchAll());
|category: ASP.NET
|Views: 23
tags:
ASP.NET another
Everyones tags:
Your Tags: