Click here to Skip to main content
15,891,951 members
Articles / Web Development / ASP.NET

ASP.NET Page Navigation Using Workflow 4.0

Rate me:
Please Sign up or sign in to vote.
4.70/5 (46 votes)
21 Feb 2011CPOL4 min read 130.9K   5.3K   88  
This tutorial demonstrates how Workflow 4.0 can be used for page navigation in ASP.NET.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BostonDealer
{
    public partial class Delivery : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (customer.PaymentType == "L")
                lblInterest.Text = customer.Interest.ToString() + "%";
            else
                lblInterest.Text = "You pay by cash.";
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Architect
United States United States
Developing software since 2000.

Comments and Discussions