Thanks Craig very useful site.
Must be late Friday. I actually had it right but for some reason it seemed like it wasn't filtering the result. Tried it again and it was correct.
>There may be an example here that can help.
http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx>
>>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