|
|
@@ -1,5 +1,4 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Text; |
|
|
|
using StuMgmLib.MyNameSpace; |
|
|
|
using System.Linq; |
|
|
@@ -7,6 +6,7 @@ using System.Data; |
|
|
|
using System.ComponentModel; |
|
|
|
using System.Collections; |
|
|
|
using System.Reflection; |
|
|
|
using System.Collections.Generic; |
|
|
|
namespace StuMgmClient |
|
|
|
{ |
|
|
|
class SystemData |
|
|
@@ -26,7 +26,7 @@ namespace StuMgmClient |
|
|
|
{ |
|
|
|
ErrCode err; |
|
|
|
//List<CourseInfo> |
|
|
|
courseInfo = new List<CourseInfo>(); ; |
|
|
|
courseInfo = new List<CourseInfo>(); |
|
|
|
err = SystemCtrl.GetCourseInfo(out courseInfo); |
|
|
|
if (err != ErrCode.Success) |
|
|
|
return err; |
|
|
@@ -85,7 +85,7 @@ namespace StuMgmClient |
|
|
|
|
|
|
|
// if (allCourseStatus.TryGetValue(info.Id, out sel)) |
|
|
|
// return sel; |
|
|
|
|
|
|
|
|
|
|
|
// UserCourseDetail m = new UserCourseDetail(); |
|
|
|
// //info->m |
|
|
|
|
|
|
@@ -133,8 +133,6 @@ namespace StuMgmClient |
|
|
|
dt.Columns.Add("Pid", typeof(int)); |
|
|
|
dt.Columns.Add("Content", typeof(string)); |
|
|
|
dt.Columns.Add("Statu", typeof(int)); |
|
|
|
dt.Columns.Add("FirstNode", typeof(int)); |
|
|
|
dt.Columns.Add("SecondNode", typeof(int)); |
|
|
|
for (int i = 0; i < list.Count; i++) |
|
|
|
{ |
|
|
|
DataRow dr = dt.NewRow(); |
|
|
|