1.

Which attribute is used for getting an individual row?(a) results.rows.item(i)(b) insertId(c) rowAffected(d) lengthThe question was asked in exam.My question is from Web Databases topic in section HTML Images & Web Page Files of HTML

Answer»

Right answer is (a) results.ROWS.item(i)

Best explanation: For getting individual row results.rows.item(i) is used, i denotes the INDEX of the row. It will RETURN the object representation of the row. insertId RETURNS row id but in case of multiple rows, it returns the id of the last row.



Discussion

No Comment Found

Related InterviewSolutions