Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Batch Details screen as follows;

Batch id textbox1

Course Dropdownlist1

Question Paper Dropdownlist2

Batch Date Calendar


Then i have Button called GO

in that button i want to pass the Batchid and Course using session and redirect to Instructor Page.

Run Mode as follows;


Batch id textbox1

Course Dropdownlist1

Question Paper Dropdownlist2

Batch Date Calendar

Go (Button)


when i click the Go Button it will redirect to Instructor Page.

for that in the Go (Button) how can i write the code to redirect to the instructor Page.


please help me.

how can i do using Csharp.

Regards,
Narasiman P.
Posted
Comments
Hemant Singh Rautela 3-May-13 3:16am    
you are asking a question or ask someone code for you...????

if you have trouble then show your code...where you stuck...

1 solution

C#
 protected void GO_Click(object sender, EventArgs e)
        {
  Session["Batch"] = textbox1.text;
Session["Course"] = Dropdownlist1.text;
Session["Question"] = Dropdownlist2.text;
Session["Date"] = textbox2.text;
Response.Redirect("/whatever");
}
 
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