string strAnswer = "", info = hfQuestionNo.Value, filePath, controlname = "";
DataSet dtQuestion, dsChoiceType;
dtQuestion = new DataSet();
dsChoiceType = new DataSet();
filePath = Server.MapPath("~/Databases/QuestionDB.xml");
//Read the contents of the XML file into the DataSet
dtQuestion.ReadXml(filePath);
filePath = Server.MapPath("~/Databases/ChoiceTypeDB.xml");
dsChoiceType.ReadXml(filePath);
XmlDocument xd = new XmlDocument();
string[] arInfo = new string[info.Length];
// define which character is seperating fields
char[] splitter = { ',' };
arInfo = info.Split(splitter);
for (int x = 0; x < arInfo.Length; x++)
{
for (int i = 0; i < dtQuestion.Tables[0].Rows.Count; i++)
...
Go to the complete details ...