|
<%@ Page language="c#" Codebehind="EmployeeList.aspx.cs" AutoEventWireup="false" Inherits="XQuiSoftDataDemo.EmployeeList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>EmployeeList</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<P><asp:HyperLink id="topHyperLink" runat="server" NavigateUrl="EmployeeList.aspx?mgr=-1">Top</asp:HyperLink></P>
<asp:DataGrid id="employeeDataGrid" runat="server" AutoGenerateColumns="False" Width="400px">
<Columns>
<asp:HyperLinkColumn Text="Edit" DataNavigateUrlField="ID" DataNavigateUrlFormatString="EmployeeEdit.aspx?emp={0}"></asp:HyperLinkColumn>
<asp:HyperLinkColumn DataNavigateUrlField="ID" DataNavigateUrlFormatString="EmployeeList.aspx?mgr={0}"
DataTextField="ID" HeaderText="Employee"></asp:HyperLinkColumn>
<asp:BoundColumn DataField="ManagerID" HeaderText="Manager"></asp:BoundColumn>
<asp:BoundColumn DataField="FirstName" HeaderText="First Name"></asp:BoundColumn>
<asp:BoundColumn DataField="LastName" HeaderText="Last Name"></asp:BoundColumn>
</Columns>
</asp:DataGrid>
<P>
<asp:Button id="addButton" runat="server" Text="Add Employee"></asp:Button> </P>
</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.
Mike has worked in the .Net platform since the beta 2 release of version 1.0. Before that he worked on VB6 windows forms applications automating other applications such as AutoCAD and "Intent".
Mike has released a number of open source applications in javascript and C#.Net. Most of them can be found on github.
github/michael-lang
You can find older .Net open source projects on sourceforge at:
http://sourceforge.net/users/versat1474/
Mike is currently blogging at
candordeveloper.com