问题描述
课程分配给教师
用户将从DropDownList中选择一个部门,该特定部门的所有教师姓名和课程代码将加载到教师和课程代码DropDownList中。当用户选择教师时,将获得学分并相应地显示剩余学分。当用户选择课程代码时,将显示该课程的名称和学分。您必须确保避免重叠问题。课程不能分配给多个教师,即不能再分配指定的课程。如果用户尝试分配课程,哪个学分超过教师的剩余学分,系统将显示一个选项(是/否)对话框并相应地工作。
Course Assign to Teacher
User will select a department from the DropDownList and all the teachers’ name and course code of that specific department will be loaded in the Teacher and Course Code DropDownList. When user will select a teacher, Credit to be taken and Remaining credit will be displayed accordingly. When user will select a course code, Name and Credit of that course will be displayed. You must ensure to avoid overlapping problem. A course cannot be assigned to more than one teacher, i.e. an assigned course cannot be assigned again. If user tries to assign a course, which credit is more than teacher’s remaining credit, system will show an option (Yes/No) dialog box and work accordingly.
推荐答案
这篇关于如何在mvc实体框架代码的第一种方法中级联下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!