Welcome to Dream.In.Code
Click Here
Getting Help is Easy!

Join 117,166 Programmers for FREE! Ask your question and get quick answers from experts. There are 2,551 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Random numbers

 
Reply to this topicStart new topic

Random numbers, Generating unique random numbers

rasvinder.soodan
post 23 Jun, 2008 - 11:59 PM
Post #1


New D.I.C Head

*
Joined: 23 Jun, 2008
Posts: 1

CODE

dim rnd1 as new Random
Dim id As Integer
        id = rnd1.[Next](1,6)
        Response.Write(id & "<br>")


** Edit ** code.gif
User is offlineProfile CardPM

Go to the top of the page


no2pencil
post 24 Jun, 2008 - 12:01 AM
Post #2


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 5,388



Thanked 35 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


Do you have a question, or are you simply sharing code?
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/6/08 11:23AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month