Though ASP.NET controls are great, in many cases I prefer the power and flexibility of doing things in code.
I wrote the following code this week as part of a demo I’m working on and thoght I would share it. (Why write all these case statements yourself.)
I hope someone finds it useful.
1: public partial class NewUser : System.Web.UI.Page
2: {
3: protected void Page_Load(object sender, EventArgs e)
4: {
5: Session["ContinueDestinationPageUrl"] = Request.QueryString[&quo ...
Go to the complete details ...