Use refelection to get datasource.