/usr/share/asp.net-demos/2.0/gridview/BasicGrid.aspx is in asp.net-examples 4.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | <%@ Page Language="C#" %>
<%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<link rel="stylesheet" type="text/css" href="/mono-xsp.css">
</head>
<body>
<mono:MonoSamplesHeader runat="server"/>
<form id="form1" runat="server">
<h1>Simple GridView</h1>
<p>
This grid reads the data from <a href="data.xml">data.xml</a>.
</p>
<div>
<asp:GridView AutoGenerateColumns="False" DataSourceID="XmlDataSource1" ID="GridView1"
AllowPaging="True" PageSize="5"
AllowSorting="True"
AutoGenerateEditButton="True"
AutoGenerateDeleteButton="True"
AutoGenerateSelectButton="True"
EnableSortingAndPagingCallbacks="false"
DataKeyNames="name"
runat="server">
<Columns>
<asp:BoundField DataField="name" HeaderText="name" SortExpression="name"></asp:BoundField>
<asp:BoundField DataField="value" HeaderText="value" SortExpression="value"></asp:BoundField>
</Columns>
<AlternatingRowStyle BackColor="#FFFFc0"/>
<SelectedRowStyle BackColor="red"/>
<PagerSettings Mode="Numeric"/>
</asp:GridView>
</div>
<asp:XmlDataSource DataFile="data.xml" ID="XmlDataSource1" runat="server"></asp:XmlDataSource>
</form>
</body>
</html>
|