public ActionResult Update(int gradeId, int registrationId, string value, string stamp) { string[] parts = stamp.Split('?'); byte[] transfer = new byte[8]; for (int i = 0; i < 8; i++) { transfer[i] = Convert.ToByte(parts[i]); } GradeValuesAccess g = new GradeValuesAccess(); return(Json(g.editGradeValue(gradeId, registrationId, value, transfer))); }