HEY GUYS
I am running a select statement. Here it is
now db.getActionResult() returns a 2-dimensional String array. What I want to understand is how to use this 2-dimensional array. I mean lets say that the 2-dimensional array is called str and lets say that the select returns 2 records, what would be str[1][0]?? or what would be str[1][1]??
Thanks for your help
I am running a select statement. Here it is
Code:
String query = "SELECT UNITNO, UNITNAME FROM Deprartment WHERE DeptID ='" + dept + "'";
db.executeSelectQuery(query);
return db.getActionResult();
now db.getActionResult() returns a 2-dimensional String array. What I want to understand is how to use this 2-dimensional array. I mean lets say that the 2-dimensional array is called str and lets say that the select returns 2 records, what would be str[1][0]?? or what would be str[1][1]??
Thanks for your help