Import Data from ResultSet

Refer to the following example code to import data from ResultSet.