<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CarDashboard.aspx.cs" Inherits="CarDashboard" %> <!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 bordercolor=1> <td colspan="3" align="center" bordercolor=1 > <h3> <strong>Car Workflow Dashboard</strong></h3> </td> </tr> <tr> <td bordercolor=1> <asp:GridView ID="gvCar" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"> <Columns> <asp:TemplateField HeaderText="ID"> <ItemTemplate> <asp:LinkButton runat="server" Text='<%#Eval("Car_ID") %>' ID="lnkCarID" PostBackUrl='<%#ConstructQueryString(DataBinder.Eval(Container.DataItem, "State_Page_URL"),DataBinder.Eval(Container.DataItem, "Car_ID"),DataBinder.Eval(Container.DataItem, "Current_State_ID")) %>'></asp:LinkButton> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Current State Name"> <ItemTemplate> <%#Eval("Current_State")%> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Previous State Name"> <ItemTemplate> <%#Eval("Previous_State")%> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Customer ID"> <ItemTemplate> <%#Eval("Created_By_ID")%> </ItemTemplate> </asp:TemplateField> </Columns> <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <RowStyle BackColor="#EFF3FB" /> <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <EditRowStyle BackColor="#2461BF" /> <AlternatingRowStyle BackColor="White" /> </asp:GridView> </td> </tr> <tr> <td bordercolor=1 align=center >Click on Car ID to perform workflow activity. </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.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)