implement DataTable fuction, it can get data from database