it would either be the where clause or method. .Where isn't a property.
>Hi,
>I've never used it so don't know why I'm attempting to answer this (s)
>But isn't it just a question of setting the .Where property?
>Regards,
>Viv
>
>
>>Hi
>>
>>I'm trying to add a where parameter at run time to a linqdatasource.
>>
>>I want to filter the records returned except for an admin use who will get all of them.
>>
>>Anyone got any examples of adding a where parameter.
>>
>>also is it best added in the page_load or elsewhere.
>>
>>
>>Thanks
>>
>>Nick
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer