Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi everyone, can any one send me the code for my requirement.
i have student details in my database...
if i enter the student name in textbox and clicked on the button.that particular student details has to display in separate aspx page....
plz help me for this task..
Posted
Comments
thatraja 10-Nov-11 13:10pm    
I'm waiting for Smithers-Jones
R. Giskard Reventlov 10-Nov-11 13:21pm    
No homework questions! Do it yourself or ask your tutor!!!
Joshi, Rushikesh 10-Nov-11 13:56pm    
Dude do it by yourself its not a rocket science, believe me it will help you in future.

1 solution

It isn't difficult, but as this is homework, you get no code:

1) Read the text from the text box in the code behind
2) Set a Session variable with the student name.
3) Use Response.Redirect to go to the new page.
4) In the new page Load event, read the Session variable, and fetch the appropriate record from the database.
5) Set the appropriate page fields to the database values.
 
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