yong fei

yong fei

  • NA
  • 1
  • 0

who can help me c what problem? asp C#

Apr 9 2010 8:23 PM
int Correct = Convert.ToInt32(Session["Correct"].ToString());
int total = Convert.ToInt32(Session["Wrong"].ToString()) + Convert.ToInt32(Session["Correct"].ToString());
  double dbMark = 100 * correct / total;
   Response.Write("    " + total.ToString() + "      " + dbMark.ToString());
when i run my problem can not function ~

Answers (1)