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