-
How to fin out column
hello all,
I have one resultset and I want to know how to find out no of columns in that ResultSet
Please answer this query as soon as possible
Regards
Rahul Vyas
-
you can obtain all the information on a resultset by getting it's resultsetmetadata object.
rs.getResulSetMetaData().
this will contain all neccesarry information, like amount of columns, name of columns, datatypes of the columns etc. have a look at the javadoc or any other online resources.
Similar Threads
-
By rkbnair in forum ASP.NET
Replies: 0
Last Post: 04-04-2006, 09:58 AM
-
By jrhaley123 in forum Java
Replies: 7
Last Post: 11-19-2005, 07:18 PM
-
By Greg Rothlander in forum ASP.NET
Replies: 3
Last Post: 10-23-2003, 02:55 PM
-
By reggie in forum Database
Replies: 1
Last Post: 04-01-2003, 01:22 PM
-
Replies: 1
Last Post: 06-11-2001, 06:14 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks