FlyingMinds
about .net , programming, life or more
Tuesday, June 11, 2013
EntityDataSource optional where parameter
You can achieve it like this : Where="it.ID=@CompanyID or @CompanyID is NULL" I also tried "or @CompanyID== NULL" , but that didn't work
Another way to is to use onSelecting event of the entity data source and create the where clause there
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment