Click here to Skip to main content
15,887,337 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Exclusive Hid control Pin
Rob Philpott16-Dec-16 2:59
Rob Philpott16-Dec-16 2:59 
QuestionRandomly Pin
khalid khalidos15-Dec-16 3:10
khalid khalidos15-Dec-16 3:10 
AnswerRe: Randomly Pin
Richard MacCutchan15-Dec-16 3:38
mveRichard MacCutchan15-Dec-16 3:38 
AnswerRe: Randomly Pin
Afzaal Ahmad Zeeshan15-Dec-16 6:10
professionalAfzaal Ahmad Zeeshan15-Dec-16 6:10 
AnswerRe: Randomly PinPopular
Eddy Vluggen15-Dec-16 8:49
professionalEddy Vluggen15-Dec-16 8:49 
GeneralRe: Randomly Pin
Mycroft Holmes15-Dec-16 13:59
professionalMycroft Holmes15-Dec-16 13:59 
GeneralRe: Randomly Pin
Eddy Vluggen16-Dec-16 3:51
professionalEddy Vluggen16-Dec-16 3:51 
AnswerRe: Randomly Pin
Patrice T15-Dec-16 12:27
mvePatrice T15-Dec-16 12:27 
khalid khalidos wrote:
how to randomly the Question from Databse Without repetion

Looks like you need to use the same algorithm as the one used to shuffle a deck of cards.
1) make an array the size of your number of questions, fill it with question numbers.
2) draw a position in possible ones, swap with last question, repeat without the last place.
for usage: get questions numbers from array in order.

This way you shuffle 52 questions with 51 draws, no repetition.
Patrice

“Everything should be made as simple as possible, but no simpler.” Albert Einstein

Questionhow to create dropdownlist to select country than state is automaticaly selected Pin
Member 1290578714-Dec-16 22:40
Member 1290578714-Dec-16 22:40 
AnswerRe: how to create dropdownlist to select country than state is automaticaly selected Pin
OriginalGriff14-Dec-16 22:46
mveOriginalGriff14-Dec-16 22:46 
QuestionConvert .mats file into .text file with unicode encoding Pin
ERAJEET8813-Dec-16 20:12
ERAJEET8813-Dec-16 20:12 
QuestionRe: Convert .mats file into .text file with unicode encoding Pin
Richard MacCutchan13-Dec-16 22:07
mveRichard MacCutchan13-Dec-16 22:07 
AnswerRe: Convert .mats file into .text file with unicode encoding Pin
Jochen Arndt13-Dec-16 22:38
professionalJochen Arndt13-Dec-16 22:38 
QuestionPascal to C# Convert Pin
Pavlex413-Dec-16 7:59
Pavlex413-Dec-16 7:59 
AnswerRe: Pascal to C# Convert Pin
Richard Deeming13-Dec-16 8:06
mveRichard Deeming13-Dec-16 8:06 
GeneralRe: Pascal to C# Convert Pin
Pavlex413-Dec-16 8:12
Pavlex413-Dec-16 8:12 
AnswerRe: Pascal to C# Convert Pin
OriginalGriff13-Dec-16 8:12
mveOriginalGriff13-Dec-16 8:12 
GeneralRe: Pascal to C# Convert Pin
PIEBALDconsult13-Dec-16 9:06
mvePIEBALDconsult13-Dec-16 9:06 
GeneralRe: Pascal to C# Convert Pin
NotPolitcallyCorrect13-Dec-16 9:26
NotPolitcallyCorrect13-Dec-16 9:26 
GeneralRe: Pascal to C# Convert Pin
Daniel Pfeffer13-Dec-16 20:24
professionalDaniel Pfeffer13-Dec-16 20:24 
GeneralRe: Pascal to C# Convert Pin
OriginalGriff13-Dec-16 21:41
mveOriginalGriff13-Dec-16 21:41 
QuestionRe: Pascal to C# Convert Pin
Gerry Schmitz13-Dec-16 22:27
mveGerry Schmitz13-Dec-16 22:27 
QuestionHow to Draw tracking Line of plane in Radar - C# Pin
Khant Nyar Kyaw13-Dec-16 7:51
Khant Nyar Kyaw13-Dec-16 7:51 
AnswerRe: How to Draw tracking Line of plane in Radar - C# Pin
OriginalGriff13-Dec-16 8:06
mveOriginalGriff13-Dec-16 8:06 
AnswerRe: How to Draw tracking Line of plane in Radar - C# Pin
Dave Kreskowiak13-Dec-16 9:00
mveDave Kreskowiak13-Dec-16 9:00 

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.