Originally posted by nabi bux:
i want to get full record of one row and want to save it in vector
then display it in table how can do that please help
May be
you should have a look at
JDBC Tutorial.
To give you brief idea about the process:
1. Register JDBC Driver
2. Get Connnection
3. Create Statement
4. execute statement using required SQL. This will return ResultSet.
5. Create an instance of Vector
5. Iterate over ResultSet, retrive all values of given record, put them in a custom Value Object (VO). Add VO to Vector. (You have to write this VO class as per your requirement)
6. Close ResultSet, Statement and Connection.
Use Vector to display values wherever you want.
Regards,
Jass
[ May 01, 2006: Message edited by: Jass Singh ]