I have a table with many coloumns with one coloumn as vacant corresponding to every row.All coloumns are retreived from database.I have to generate random numbers corresponding to every row.But problem is one constraint is there while generating random numbers.If there is 60 rows,i have to do 60/10=6 groups of those rows.group-1,2,3,4,5,6.Under one group there will be 10 rows and their random numbers will be same.Then next 10 rows' random numbers will be same.coloumn name is LOT NO.After displaying that table with that vacant coloumn,then there will be one button generate lot no.After clickin on that button numbers will be generated along with updation in the database for the LOT_NO coloumn in tha database.

Please help me

Regards

Debasis Mohapatra

View Answers

July 12, 2010 at 4:05 PM

Hi Friend,

Do you want to use pagination? Please clarify it.

Thanks

Do you want to use pagination? Please clarify it.

Thanks

Related Tutorials/Questions & Answers:

Javascript random number Dear Sir, I have a table with many... are retreived from database.I have to generate random numbers corresponding to every row.But problem is one constraint is there while generating random numbers.If

Javascript random number Dear Sir, I have a table with many... are retreived from database.I have to generate random numbers corresponding to every row.But problem is one constraint is there while generating random numbers.If

Advertisements

random number Please How do I generate a program that gives me random integer from 115 to 250? Using java.util.random. Thank you very much! ... main(String[] args){ int min = 115; int max = 250; Random random

random number Sir could u please send me the code registration form of roseindia.net with image varification

using random number generate a 10 digit number using random number and display the length of longest increasing series

getting random number in java getting random number in java Hi everyone, i am trying to get a random number in a particular range. for example... rand = new Random(); also created the random number genrator and translating

using random number generate 10 number and display the length of longest incresing series

using random number generate 10 digit number and display the length of longest incresing swries

Get Random Number Random Number is the set of unordered arranged number. The class ... to describe you a code that helps you in understanding to Get Random Number

J2ME Random Number In this application we are going to generate the random number using Random... this random number generator's sequence and the setSeed method is used to sets

PHP Generate Random Numbers: A random number is becoming more useful.... To generate random number, PHP provides rand() function. ... will generate a random number as follows:</b>".rand(); echo "<br/>

Random Number Generation Can any one tell me about to generate integers that should be a 10 numbered integer. Should be between 100000000 to 9999999999. Core Application Hi friend, Code to solve the problem

Number conversion in JavaScript How do you convert numbers between different bases in JavaScript

How do I generate random number? In my Java program there is a requirement of generating random numbers between two given numbers. How do I write code for generating the random number? Thanks Hi

Generating Random Number ... for your application. Random Number is the frequently used to generate numbers... how to create a random number and example provided here will help you easily

MySQL random number You may fall in the condition when you want to create random number for your... create a random number by the use of RAND() function of MySQL. There are two

Generate random number between two numbers in Scala Hi, How to Generate random number between two numbers in Scala? Thanks Hi, Following code can be used for generating random number in scala: val rand = new

Generate random number between two numbers in Scala Hi, How to Generate random number between two numbers in Scala? Thanks Hi, Following code can be used for generating random number in scala: val rand = new

javascript max number hi all, i m trying to find maximum number in javascript but its not working dont know why, and heres the code: var number,i,max; for(i=1;i<11;i++) { number=prompt("Enter

How to generate random number in java In this section you will learn how to generate random number in java. Java API provide a random class in java.util.Random package which generate random number within a range. The random

autogeneration of a random number and displaying it as a alert message... addorder form i want to produce a random number for every order made which is refrence number for dat order and is primary key and this number will be generated

JavaScript array get elements at random In this example of getting JavaScript array elements randomly we have printed the array elements by the random index position

JavaScript for decimal number comparisons Hi, I need to compare a BigDecimal in my javascript. I need a have a validation the text field value should not exceed (15,2) (max value is : 9999999999999.99). I am not able

how to validate the telephone number without using jquery in html with javascript how to validate the telephone number without using jquery in html with javascript

String Number Operations in JavaScript ... of JavaScript and create your first JavaScript program. What is String Number...;/head> </body> </html> JavaScript in Number

to generate desired random number in Java program? In this tutorial I will teach you... class for generating the random number. Random class is an utility class...: Random(): This constructor is used to create an instance of random number

JavaScript Array of number ... in understanding Java Script array number of elements. We are using JavaScript...;/head> <body> <script language="javascript

random numbers hi.. i am creating a website and on feedback form to authenticate user i want to generate a random number on label.if user types that number correctly in textbox then he is allowed to submit feedback otherwise

javascript hi, I was actually working on to calculate the number of days between two dates of yyyy-mm-dd format using javascript, and when i click on button then number of days should be display in textbox

Mobile Number Validation Form in JavaScript In this example we have created a Mobile Number Validation Form that displays the Mobile Number, Phone... Number to 10 digits and Phone Number to 10 Digits. We have also used Java

JAVASCRIPT I have one textbox and I want to validate that it must start with number(1-0). can anyone tell me a javascript for that ? thanks in advance

this format xxx-xxx-xxxx, i want the code in javascript. as a function. Javascript Phone Number Validation <html> <script> function..." method="post" onsubmit="javascript:return validate();"> Phone Number:<

how to display one name. The problem is how do I get javascript to remove the entry from the array before selecting another name at random

JavaScript toPrecision method In JavaScript, toPrecision() method is used to convert a number into the number with the number of digits as provided for the precision. Syntax:ADS

random numbers Hi I need some help with the code for the this program. This program should randomly choose a number between 1 and 1000... the computer has randomly chosen the number 759.] Guess my number! It's between 1 and 1000

Javascript calculate number of days between two dates In this tutorial, you will learn how to calculate number of days between two dates.For this, you need.... The desired interval can then be determined by dividing that number

and less than 1.0. The random number are generated automatically.ADS_TO_REPLACE_1... random number will be generated. The code of the program is given below: ADS...Random in jsp

JavaScript Math.sin() method JavaScript's Math.sin() method returns mathematical sine of the number and it returns value between -1 to 1. Syntax:ADS_TO_REPLACE_1

javascript how to create random question using javascript? <html> <script> function displayQuestions() { document.getElementById("text").value=" "; var Questions = new Array(20

javascript javascript code to dynamically add table on button click.../javascript/javascriptexamples/javascript-add-row-dynamically.shtml http://www.roseindia.net/javascript/javascript-add-row-to-table.shtml http://www.roseindia.net

Javascript How validations are done using javascript ,with example? and interview questions on javASCRIPT

should use JavaScript? Thanks Hi, JavaScript is scripting language that runs on browser. You have to embed JavaScript in HTML page. Please see JavaScript tutorial. Thanks

Ads