Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Comments
jaideepsinh 9-Jul-13 9:11am    
You can't create n number of pages. Why you want to make separate pages for all student?

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!
 
Share this answer
 
Comments
OriginalGriff 10-Jul-13 11:52am    
Not a problem - the way I would do it is to store things in Cookies (so that the user can come back to exactly where they were) and update the cookie when they save a page of data. When you load the page, you look at the cookie and resume with that student.

Is any part of this new to you?
OriginalGriff 10-Jul-13 12:32pm    
You're welcome!
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.
 
Share this answer
 
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.................
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900