It is not possible to get data from Sitefinity 3.x database using Sitefinity 4.0 edition. This could be done only in the context of a web service. You cannot connect Sitefinity 4.0 website to Sitefinity 3.x directly.
Generally you should better use the migration tool
to migrate your 3.x projects.
All the best,
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items