I have a usercontrol where I created with an LLBL Data source. Simple gridview bound to the datasource listing the items in a table.
When I put this on my test page, it works fine, but when I add the control to a smartpart in sharepoint, the data is not pulled.
Sharepoint's web config has the same connection string as my test project, and the page doe snot return any errors, the list is just empty. so I'm not sure where to look.
Can you point me to any properties I can use to debug? If i response.write the datasource.entititycollection.count it gives me an object ref not set to an instance of an object.
Thanks.