Search:

Type: Posts; User: guptapr

Search: Search took 0.18 seconds.

  1. Replies
    7
    Views
    1,230

    Re: how to reuse method returned string ??

    Show me your program once.....
    Regards,
    guptapr
  2. Replies
    1
    Views
    4,142

    Re: how to output using JLabel?

    Hi qaromi,

    I have made some changes in the program. Please first compile and execute it. I have commented in front of the lines where i have made the changes. Please go through it.

    package...
  3. Replies
    3
    Views
    3,887

    Re: The Frame to be Center Position

    you can use setLocation(int,int) method to change location of your application frame. If you can show the program then may be i can show you how to use it.

    Regards,
    guptapr
  4. Re: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state

    Thanks for help Json. But i think i was able to rectify my problem. It sounds funny but i just changed the line:
    Statement...
  5. Replies
    3
    Views
    1,013

    Re: updating database

    Hi gurpreetm13,

    Try giving a shot to the program i gave you below. Its your program only. But i did make some changes in it. See carefully i have added three lines:


    st.close();...
  6. Re: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state

    Hi Json
    i tried it. But its giving same exception again. Is there any problem with the query i am firing? Query:
    String query="Select distinct id from employee";
    I am using Microsoft Access as my...
  7. Re: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state

    System.out.println(rs.getInt(1));
  8. java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state

    I am getting an exception (java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state)
    while running this program given below. Please help.



    import java.sql.*;
    import...
Results 1 to 8 of 8