1
Answer

Get value from dictionary one by one in sequence

I need to process N files at a time, So I've stored all files information in Dictionary with Filename, Size, and SequenceNo, Now I've to select 5 files from that Dictionary and process that file, meanwhile if the process for any file completed then it will select another 1 file from that dictionary.
 
For Example :
 
If I've 10 Files in the dictionary and I select the first 5 files File 1, File 2, File 3, File 4, File 5 from the dictionary and process it. If process File 3 is completed then the process for File 6 should be started.
 
we are working in a team and we have also posted the same question in StackOverflow community but didn't get the expected solution.
 
So Help me.
Thank You.
Answers (1)
0
Jasbeer Singh

Jasbeer Singh

NA 7.1k 554k 8y
Hi Rishav,
 
you can fetch data and bind it dynamically according to question no. and options.
you can take radiobutton list to bind the options dynamically.
you can bind the daasource to radiobutton list.
 
 
 
 
0
Nitin Sontakke

Nitin Sontakke

137 13.6k 15.2k 8y
Not sure if you are using any framework (EF, etc)
 
You will need to do this in code. Assume, you get either 1 or 2 or 3 or 4 from the database.
 
Then, in c# you write (something) like this...
 
radioButton1.checked = radioButton2.checked = radioButton3.checked = radioButton.checked = false; 
switch(radioButtonValueFromDb) 
{
   case 1:
       radioButton1.checked = true;
 
//all other 3 values...