@BobTabor: Thanks for the reply. It works, but now I am trying to pass parameter to the SampleDataSource to limit the data. I create a MainPage user than login, after logging in depending on the user role it displays different thing. But how do I pass the parameter to the SampleDataSource. After setting the breakpoints I somehow figure out how it pass but not sure how to implement it again in different method ? Thanks.