Especially when there is definitely no method in ResultSet which is getString(String, int).... and this is no JDBC Mailing list, but a JSP !!! btw: if your "sequence" problem really exists, it is definitely no problem caused by the JDBC-API provided by sun, but from the implementation of the JDBC-driver. means, even JDBC 3.0 will not overcome this issue... -----Ursprungliche Nachricht----- Von: The Burkes [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 21. Februar 2001 14:47 An: [EMAIL PROTECTED] Betreff: Re: Sequence Problem 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 =========================================================================== 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
