Csqldataprovider And Cgridview


I’m trying to pass a CSqlDataProvider from a Controller to a View via RenderPartial.

When I run the code I get a error messag. "Error occured.please try again".

Here is my code


View _test.php

Hi easyfrag,


thanks for the replay, it was missing a keyfield… its working now