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

State Machine Complier And Asp.net

Rate me:
Please Sign up or sign in to vote.
4.56/5 (4 votes)
20 Oct 2008CPOL4 min read 55.4K   307   31  
This article demonstrate the implementation of State Machine Compiler in .NET. This is small proof of concept for developing state machine workflow activity.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StartEngine.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table border=1>
                <tr>
                    <td colspan=2 bordercolor=1> You can 'Run' the car OR 'Stop' the car.
                    </td>
                </tr>
                <tr>
                    <td bordercolor=1 align=center>
                        <asp:Button ID="btnRun" runat="server" Text="Run" OnClick="btnRun_Click" /></td>
                    <td bordercolor=1 align=center>
                    <asp:Button ID="btnStop" runat="server" Text="Stop" OnClick="btnStop_Click" />
                    </td>
                </tr>
                <tr>
                    <td  colspan=2 bordercolor=1>
                    Click on the Button to perform the action
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>

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
Technical Lead
Australia Australia
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!
www.santoshpoojari.blogspot.com

Comments and Discussions