Wiki

Articles tagged with "csqldataprovider unrelated"X
Displaying 1-1 of 1 result(s).

Use CGridview to sort and filter CSqlDataProvider - when used with UNRELATED tables (or complex queries)

Created 3 years ago by Gerhard LiebenbergHow-tos6 comments – viewed 18,826 times – ( -1 ) – version 1.1
I have two tables called hospitals and departments. I have a junction table between them which holds the departments in each hospital. But sometimes I need a list of "All hospitals with All possible departments" - regardless of whether they are linked in the junction table or not.