How to fin out column


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to fin out column

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    16

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    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

  1. help with sparse matrix
    By jrhaley123 in forum Java
    Replies: 8
    Last Post: 09-28-2013, 11:48 PM
  2. DataGrid Boundcolumn vs Template column
    By rkbnair in forum ASP.NET
    Replies: 0
    Last Post: 04-04-2006, 10:58 AM
  3. DataGrid Column Headers
    By Greg Rothlander in forum ASP.NET
    Replies: 3
    Last Post: 10-23-2003, 03:55 PM
  4. Replies: 1
    Last Post: 04-01-2003, 02:22 PM
  5. CheckBox Column in a DataGrid ?
    By Jim H in forum .NET
    Replies: 1
    Last Post: 06-11-2001, 07: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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center