It is accomplished by changing the DataSourceID property to the database connection which links to table.