| Author |
Retrieving Database Table Column names using JDBC
|
Jigar Naik
Ranch Hand
Joined: Dec 12, 2006
Posts: 744
|
|
Hello Guys I want to retrieve database table column names using jdbc... and want to store it in arraylist... anybody ??? any idea ???
|
Jigar Naik
|
 |
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1318
|
|
|
Have a look this Java Doc ResultSetMetaData This will helps to get column name through getColumnName() method it's return String so you can insert this in ArrayList by using .add() method
|
Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
|
 |
Jigar Naik
Ranch Hand
Joined: Dec 12, 2006
Posts: 744
|
|
okis... thanks buddy... thanks once again for showing interest... I'm very greatfull to you...
|
 |
 |
|
|
subject: Retrieving Database Table Column names using JDBC
|
|
|