Click here to Skip to main content
15,897,094 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

I send Sample.aspx?Mode="Edit" querystring in edit mode.
Immediately after updating i have to add a record.
Is there anyway to change the querystring value.
Mode="Add".
Since REquest.Quertstring[] has only get property, is there any other possibilities.
[Removed Urgency]


Regards
Froxy
Posted
Updated 25-Jun-12 23:02pm
v4
Comments
DamithSL 26-Jun-12 4:27am    
after edit redirect to Sample.aspx?Mode="Add"

1 solution

After completion of updating records you can redirect the same page with QueryString.
VB
Response.Redirect("Sample.aspx?mode=edit")

And check the mode (edit or add) in the Page_Load event.
 
Share this answer
 
Comments
Vani Kulkarni 26-Jun-12 5:03am    
Correct! 5!
Rahul Rajat Singh 26-Jun-12 5:17am    
that should work. +5.

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