@using EMIS.Web.Controls;
@using Bowin.Web.Controls.Mvc;
@{
ViewBag.Title = "FinallyScoreList";
Guid? graduateCardApplyID = new Guid(Request["graduateCardApplyID"]);
}
@section scripts{
}
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="FinallyScoreID" },
new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 },
new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1, OverflowLength=12 },
new BoundFieldColumn { FieldName="CourseTypeName", HeaderText="课程类型", OrderFieldName="CourseTypeID", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="Credit", HeaderText="课程学分", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="IsMainCourseName", HeaderText="学位课程", OrderFieldName="IsMainCourse", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="StarttermName", HeaderText="开课学期", OrderFieldName="StarttermID", Align=AlignStyle. Center, Width=0.04 },
new BoundFieldColumn { FieldName="CourseSelectTypeName", HeaderText="选修类别", OrderFieldName="CourseSelectTypeID", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" },
new BoundFieldColumn { FieldName="IsExecutablePlanName", HeaderText="是否计划", OrderFieldName="IsExecutablePlan", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" },
new BoundFieldColumn { FieldName="ExecutablePlanStatusName", HeaderText="计划状态", OrderFieldName="ExecutablePlanStatus", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" },
//new BoundFieldColumn { FieldName="TotalHours", HeaderText="总学时", Align=AlignStyle.Center, Width=0.03 },
new BoundFieldColumn { FieldName="HandleModeName", HeaderText="处理方式", OrderFieldName="HandleModeID", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" },
new BoundFieldColumn { FieldName="ExamsCategoryName", HeaderText="考试性质", OrderFieldName="ExamsCategoryID", Align=AlignStyle.Center, Width=0.04 },
//new BoundFieldColumn { FieldName="ExamsStateName", HeaderText="考试状态", OrderFieldName="ExamsStateID", Align=AlignStyle. Center, Width=0.04 },
new BoundFieldColumn { FieldName="TotalScore", HeaderText="总成绩", Align=AlignStyle.Center, Width=0.03 },
new BoundFieldColumn { FieldName="ScoreCredit", HeaderText="学分", Align=AlignStyle.Center, Width=0.02 }
//new BoundFieldColumn { FieldName="GradePoint", HeaderText="绩点", Align=AlignStyle.Center, Width=0.02 }
},
CustomerRowStyleFun = "SetRedGrid",
IsPostBack = true,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/GraduateCardApply/FinallyScoreList?graduateCardApplyID=" + graduateCardApplyID),
ID = "dgGraduateCardFinallyScoreList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})