If its a "shot in the dark" don't even reply.  Especially if you can't
explain why you suggested what you did.

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Dmitrijs Bacerikovs
Sent: Wednesday, February 21, 2001 7:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Sequence Problem


Hello,
I'm not sure but may be you can try the following:
rst.getString("b",2);
rst.getString("a",1);
rst.getString("c",3);

Regards.
Dima.

Muhammad Asim Ajmal wrote:

> hi!!!!
>
> i want to know some thing about sequence problem for getting result from a
> query,
>
> e.g. select a, b, c, from table;
>
> then !!
> rst.getString("a");
> rst.getString("b");
> rst.getString("c");
>
> well this works fine,, but if i change the sequence like
>
> rst.getString("b");
> rst.getString("a");
> rst.getString("c");
>
> this create the problem,,, i wanna over come this problem,,,  has API3 of
> JDBC can
> give the solution???
>
> currnetly i m using SQL Server database and JDBC type 2 drivers...
>
> waiting for reply
>
> ---------------------------------------------------
> ASIM
> VisualSoft Development (Pvt) Ltd.
> #301, Peshawar Road,
> Rawalpindi Cantt 46000,
> Pakistan.
> www.visualsoft-inc.com
> ---------------------------------------------------
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to