Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 20th, 2010, 08:34 PM
Authorized User
 
Join Date: May 2007
Posts: 73
Thanks: 4
Thanked 0 Times in 0 Posts
Default Array random item picker

Hi,
I am trying to save some ids in a dynamic array and then pick any one randomly....Any idea how to get it done?


cheers
__________________
Cheers
Sheraz
 
Old May 20th, 2010, 09:54 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

using a random number/the number of items?
__________________
HTH

Gonzalo


================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the
proof.
================================================== =========
The Following 2 Users Say Thank You to gbianchi For This Useful Post:
pro_infor (June 9th, 2010), Sheraz Khan (June 9th, 2010)
 
Old June 9th, 2010, 03:32 PM
Registered User
 
Join Date: Jun 2010
Posts: 1
Thanks: 2
Thanked 0 Times in 0 Posts
Default

thankssssssssssssss





Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete item from array sektor Excel VBA 16 April 30th, 2008 04:36 AM
Deleting an Item from an Array creejohnson Classic ASP Professional 5 September 14th, 2006 12:30 PM
Getting an item from the array monfu C# 0 March 29th, 2006 09:21 AM
Remove item from an array? jefferis PHP How-To 5 November 27th, 2003 11:38 AM
Random Numbers not so random... katsarosj ASP.NET 1.0 and 1.1 Basics 5 November 20th, 2003 12:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.