Fetching by Column: – Querying Data from Databases
6.3.3.4.2 Fetching by Column: When a valid data row has been retrieved, we need to get each column from that row. To do that, a different getXXX() method should be used based on the different data type of the returned data. One can use either the name of the column or the index of that column to get the data value. For example, in our LogIn Table, both the user _ name and the pass _ word are Strings; therefore, a getString() method should be used with the index of each column. A point to be noted is that the first column has an indexRead More →