Link list with database table dynamically.