在C#中运行时开发? [英] run-time development in c#?

查看:72
本文介绍了在C#中运行时开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的ASP.Net网站上,我有一个用户输入要分组参加课程的学生人数,好吧
假设搜索条件大约有80名学生,每组的学生人数是20,那么我有80/20 = 4个组,每组有20名学生可以上一门课程.


网站所有者需要根据列表的数量显示许多ListBox,并且每个ListBox都包含该组中的学生,我可以将一个学生从ListBox(组移动到另一学生)
然后单击确认.

In my ASP.Net website, I have a user enter number of students that will be in on group to take a course Ok
suppose that search criteria get about 80 students and numbers of students in each group are 20 then I have 80/20= 4 groups every group has 20 students to will take a course Ok.


The website owner needs many ListBoxes appear depend on number of groups and every listbox contains students in this group and I can move one student from ListBox(group to another)
and then click confirm.
Can any one know how to figure this?

推荐答案

许多ListBox取决于组的数量,您需要一个Repeater Control.
查看: ASP.NET中的数据转发器控件

从一个ListBox移到另一个:
查看以下内容:从中移动项目使用JQuery将一个ListBox转换为另一个ListBox
For many ListBoxes depend on number of groups, you need a Repeater Control.
Look at: Data Repeater Controls in ASP.NET

For moving from one ListBox to another:
Look at this: Moving Items from One ListBox to other ListBox using JQuery


这篇关于在C#中运行时开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆