Click here to Skip to main content
16,005,121 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsharing web pages accross applications Pin
adern9-May-07 7:26
adern9-May-07 7:26 
QuestionIssues in Word Automation Pin
Sankara Narayana9-May-07 4:43
Sankara Narayana9-May-07 4:43 
QuestionError using System.Configuration.NameValueSectionHandler Pin
bensalins9-May-07 4:08
bensalins9-May-07 4:08 
QuestionApplying stylesheet to ajax autocompleteextender [modified] Pin
Sandeep_Kumbhar9-May-07 2:36
Sandeep_Kumbhar9-May-07 2:36 
QuestionRandom Draw Pin
Sam Heller9-May-07 2:23
Sam Heller9-May-07 2:23 
AnswerRe: Random Draw Pin
Tarakeshwar Reddy9-May-07 3:14
professionalTarakeshwar Reddy9-May-07 3:14 
GeneralRe: Random Draw Pin
Sam Heller9-May-07 3:25
Sam Heller9-May-07 3:25 
GeneralRe: Random Draw Pin
Tarakeshwar Reddy9-May-07 3:32
professionalTarakeshwar Reddy9-May-07 3:32 
Sam Heller wrote:
Ok thanks for that. I had a brief look at Gaussian but looks like it could be slightly overkill for my requirements. I also couldnt see how u would tie that into my problem of having what is basically an array from the database of unique numbers and how to select one of these?

The Gaussian numbers can be used to get a set of random numbers which could be used as the index of the array. If you have 1000 records in your database, you can have your Gaussian function return 10 values(according to how many you need) between 0 and 999. Use the numbers generated as the index and pull out those from the array.

The reason I suggested this is because it follows a uniform distribution and your draws would not follow a pattern.



GeneralRe: Random Draw Pin
Sam Heller9-May-07 3:33
Sam Heller9-May-07 3:33 
GeneralRe: Random Draw Pin
Tarakeshwar Reddy9-May-07 3:45
professionalTarakeshwar Reddy9-May-07 3:45 
QuestionHow to get a PopUp Pin
Spunky Coder9-May-07 2:05
Spunky Coder9-May-07 2:05 
AnswerRe: How to get a PopUp Pin
varshavmane9-May-07 2:26
varshavmane9-May-07 2:26 
AnswerRe: How to get a PopUp Pin
varshavmane9-May-07 2:28
varshavmane9-May-07 2:28 
QuestionASP Grid Pin
speedy_gonzalas9-May-07 2:04
speedy_gonzalas9-May-07 2:04 
AnswerRe: ASP Grid Pin
varshavmane9-May-07 2:20
varshavmane9-May-07 2:20 
GeneralRe: ASP Grid Pin
speedy_gonzalas9-May-07 18:32
speedy_gonzalas9-May-07 18:32 
GeneralRe: ASP Grid Pin
varshavmane9-May-07 20:06
varshavmane9-May-07 20:06 
GeneralRe: ASP Grid Pin
speedy_gonzalas9-May-07 20:13
speedy_gonzalas9-May-07 20:13 
GeneralRe: ASP Grid Pin
varshavmane9-May-07 20:34
varshavmane9-May-07 20:34 
QuestionRental System Pin
Brendan Vogt9-May-07 1:35
Brendan Vogt9-May-07 1:35 
Questionhow to edit DropDownList [modified] Pin
savindra.bandi9-May-07 1:34
savindra.bandi9-May-07 1:34 
AnswerRe: how to edit DropDownList Pin
Sandeep Akhare9-May-07 3:56
Sandeep Akhare9-May-07 3:56 
GeneralRe: how to edit DropDownList Pin
savindra.bandi9-May-07 19:23
savindra.bandi9-May-07 19:23 
QuestionRadioButton List Disabled Problem Pin
sonia_basangar9-May-07 1:34
sonia_basangar9-May-07 1:34 
AnswerRe: RadioButton List Disabled Problem Pin
varshavmane9-May-07 2:30
varshavmane9-May-07 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.