Web/Answer/QuestionList.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Data;
using Maticsoft.Common;
using System.Drawing;
namespace StudentExamination.Web.Answer
{
public partial class QuestionList : Page
{
Model.Answer answer = new Model.Answer();
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Model.Subject subject = new Model.Subject();
string strWhere = " TeacherID = " + Session["UserID"].ToString();
subject.BindSubject(ddlSubject, strWhere);
BindData();
}
}
protected void btnSearch_Click(object sender, EventArgs e)
{
BindData();
}
#region gridView
public void BindData()
{
#region
//if (!Context.User.Identity.IsAuthenticated)
//{
// return;
//}
//AccountsPrincipal user = new AccountsPrincipal(Context.User.Identity.Name);
//if (user.HasPermissionID(PermId_Modify))
//{
// gridView.Columns[6].Visible = true;
//}
//if (user.HasPermissionID(PermId_Delete))
//{
// gridView.Columns[7].Visible = true;
//}
#endregion
DataSet ds = new DataSet();
StringBuilder strWhere = new StringBuilder();
if (ddlSubject.SelectedValue != "0")
后面还有 25 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。