I'm building a ASP.net quiz engine and I'm using a previous quiz engine i did in Flash as a template for the ASP version. I'm stuck on how I can achieve the following code in ASP.net
// array to hold the answers
var arrAnswers:Array = new Array();
// create and array of answers for the given question
arrAnswers[i] = new Array();
// loop through the answers of each question
for (j=0; j<dataXML.question[i].answers.length(); j++)
{
//array of answers for that given question is pulle from XML data
arrAnswers[i][j] = dataXML.question[i].answers[j][email protected]();
// if the given answer is the correct answer then set that value to the arrcorrect
}
Can anyone help on how I can get above action script code in ASP.net?