ZhiYeJianKang_PeiXun/Song.Site/Json/ExamResults.aspx.cs
2025-02-20 15:41:53 +08:00

44 lines
1.2 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Song.ServiceInterfaces;
using Song.Entities;
using System.Text;
using System.Reflection;
using System.Collections.Generic;
using WeiSha.Common;
namespace Song.Site.Json
{
public partial class ExamResults : System.Web.UI.Page
{
//试卷id考试id,员工id
private int tpid = WeiSha.Common.Request.Form["tpid"].Int32 ?? 0;
private int examid = WeiSha.Common.Request.Form["examid"].Int32 ?? 0;
private int accid = WeiSha.Common.Request.Form["accid"].Int32 ?? 0;
//获取当前学科下的所有试卷
protected void Page_Load(object sender, EventArgs e)
{
//获取答题信息
Song.Entities.ExamResults exr = Business.Do<IExamination>().ResultSingle(examid, tpid, accid);
if (exr == null)
{
Response.Write("0");
}
else
{
Response.Write(exr.Exr_Results);
}
Response.End();
}
}
}