ASPX templates
Version 5.x > ASPX templates > Content Database View modes: 
User avatar
Member
Member
sarika.agarwal.2-hewitt - 5/17/2011 5:54:47 AM
   
Content Database
Can we integrate Kentico site to my own database (diff from Kentico database) so that the content is coming from my database in the kentico site.

And what classes i need to call to fetch the data from my database
I want to fetch the data from my my existing database and wants to show that data on diffrent different pages of the Kentico site.

User avatar
Member
Member
lancetek - 5/17/2011 7:12:37 AM
   
RE:Content Database
Since I don't know your setup (types of db and connections) You might be able to use the Kentico 'Data Source' web parts to fetch the information from your own database to display on the Kentico one.

If those web parts are not appropriate, you can even make your own!

Lance

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 5/17/2011 7:40:25 AM
   
RE:Content Database
Hi,

you could use SQL data source webpart which has a property Connection string where you can define connection string to your custom database. This webpart you could use together with the a repeater webpart which has a property Data source name so you could connect the sql data source content with the repeater.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
sarika.agarwal.2-hewitt - 5/18/2011 6:49:34 AM
   
RE:Content Database
Thnx frndz for ur responses.