Use Random clase to generate the random question numbers and then use this number to fetch question. The below sample generated 10 random number between 1-20. In your case use the count of questions available in qustion bank.
Random r = new Random();
for (int i = 0; i < 10; i++)
{
int x= r.Next(20);
MessageBox.Show( x.ToString());
}