Search:

Type: Posts; User: Shanse

Search: Search took 0.22 seconds.

  1. [Please Help] java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state

    Hello,

    The coding below is just a simple login system, it checks whether the data in database (Access) is the same as what the user inserted via the JTextFields.

    However, I'm having troubles...
  2. Replies
    6
    Views
    209

    [SOLVED] Re: Ready to Program: Help Please!

    Nevermind, I managed to fix my issue by using math.round.

    Thanks alot for the quick response & answers to my query.

    :)

    Later,
    Shanse
  3. Replies
    6
    Views
    209

    [SOLVED] Re: Ready to Program: Help Please!

    Edit: I fixed the issue

    However I'm getting decimal answers now with the coding:

    double HighestScore = (Math.random () * 5001) + 1;
    data [cnt] [2] = Double.toString (HighestScore);
    ...
  4. Replies
    6
    Views
    209

    [SOLVED] Re: Ready to Program: Help Please!

    Hello, Syed

    When I Implement the code:

    data [cnt] [2] = (Math.random () * 5001) + 1;


    It throws out the following error:

    You cannot assign a "double" expression to a "java.lang.String"...
  5. Replies
    6
    Views
    209

    [SOLVED] Ready to Program: Help Please!

    Hello everyone,

    I'm a new programmer and thus still suck, I do not even know if I should be posting this here or be able to receive any help.

    However, my issue is the following: (Note: I'm...
Results 1 to 5 of 5