Results 1 to 2 of 2
  1. #1
    Shivraj is offline Member
    Join Date
    Mar 2009
    Posts
    13
    Rep Power
    0

    Question any way to auto generate any id in textbox

    hiiiii.......
    i want to display auto generate clientid in client_detail form and i am using oralce9i as a backhand,so i create a sequence on clientid but it is not working so plz give any suitable way to auto generted cltintid in textbox...!

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Do you want to generate auto numbers for database of the Java UI? If you want to do it for DB this is not the correct form.

    But if you want to do it in Java, read more about java.util.Random class on Java API. You can generate numbers within the specified range.

    Provide more details on this, so we all can look at it in deper.

Similar Threads

  1. textbox value to procees in visual jsf
    By fiqueudrue in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 01-29-2009, 05:59 AM
  2. How to generate auto shell script using java..
    By balakrishna in forum Advanced Java
    Replies: 8
    Last Post: 12-30-2008, 06:13 PM
  3. Auto-complete/Auto-fix for custom statement
    By dark_cybernetics in forum Eclipse
    Replies: 0
    Last Post: 08-19-2008, 11:19 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
  •