根据以前表单中选择的数字创建多个表单 [英] Create Multiple Forms based on the number selected in previous form

查看:81
本文介绍了根据以前表单中选择的数字创建多个表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开展一个学校项目,第一个表格/页面是school_page.aspx,以获取有关学校的意见。



第二页是关于他们喜欢的课程(Class_page.aspx)(1 st到12th std)0r(1年级到7年级)





当课程以第二种形式选择,它会询问学生总数,如(第10课 - 学生总数= 50)

(第12课 - 学生总人数= 60)


第三种形式是(student.aspx)个人学生数据信息,如姓名,dob,父母姓名等......



我需要的是,基于第二种形式(class-page.aspx)中选择的数字,第三种形式(student.aspx)应生成'n'个学生页面以获得'n'个学生详细信息。





请回答我的问题,如果你发现这个问题难以理解,请在这里给予说明。我会尽快回复。



谢谢,

Sathish

I am working on a school project where the first form/page is "school_page.aspx" to get the input about the school.

the second page is about the classes (Class_page.aspx) they have like (1st std to 12th std) 0r (grade1 to grade7)


When the class is selected in the second form it will ask for total number of students, like (Class 10th - total number of students = 50)
(Class 12th - total number of students = 60)

The third form is (student.aspx) individual student data information like name,dob,parent name etc...

what I need is , based on the number selected in the second form(class-page.aspx) the third form (student.aspx) should generate 'n' number of student page to get 'n' number of student details.


Please answer my question, if you find this question difficult to understand kindly give a note here. I will reply asap.

Thanks,
Sathish

推荐答案

你可能实际上并不想一次性生成n页面 - 这会使大多数用户感到烦恼,因为40名学生的正常课程所需的标签/窗口数量会相当过多。 50或60将是一个真正的PITA!



相反,为什么不存储所需的学生数量,以及会话中处理的数量并重新使用同一页面要求详细信息?或者更好的是,如果每个学生只需要少量细节,请在一个页面上使用表格输入所有细节。对于必须输入数据的用户来说,它更友好!
You probably don't actually want to generate "n" pages all at once - that would annoy most users as the number of tabs / windows required for a "normal" class of say 40 students would be rather excessive. 50 or 60 would be a real PITA!

Instead, why not store the number of students needed, and the number processed in the session and re-use the same page to request the details? Or better, if there are only a small number of details needed per student, use a table on one page to input it all. It's much more friendly for the user who has to input the data!






您可以使用Gridview解决问题。如果学生有大量数据,您可以使用

搜索选项在gridview中过滤。使用Gridview中的链接或按钮打开不同的学生表单。您可以使用会话变量来维护信息。
Hi,

You can use Gridview for your problem. If there is large data of students you can use
search option to filter in gridview. Use links or buttons in Gridview to open the Different students form. You can maintain information using session variables.


我建​​议您在class.aspx的基础上,当用户点击特定类(如第12个)然后点击该用户一页显示所有12号学生,如果你想加载n次页面,n次学生会对用户和用户感到恶心.................
my suggestion is to you is on bases of class.aspx when user click on particular class like 12th then on click of that user one page to show all the students of 12th if you want to load n times pages and n times students that would be disgusting to user and user will be confused.................


这篇关于根据以前表单中选择的数字创建多个表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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