This file is indexed.

/usr/share/asp.net-demos/2.0/gridview/ObjectBoundGrid.aspx is in asp.net-examples 4.2-2.1.

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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<%@ 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">

    protected void Page_Load(object sender, EventArgs e)
    {
        ArrayList list = new ArrayList();
        list.Add (new Dada(1));
        list.Add(new Dada(2));
        list.Add(new Dada(3));
        list.Add(new Dada(4));
        list.Add(new Dada(5));
        list.Add(new Dada(6));
        list.Add(new Dada(7));
        list.Add(new Dada(8));
        list.Add(new Dada(9));
        list.Add(new Dada(10));
        list.Add(new Dada(11));

        GridView1.DataSource = list;
        GridView1.DataBind();
    }

    class Dada
    {
        public Dada(int n)
        {
            un = n;
            dos = "[" + n + "]";
            tres = new DateTime(2005, 3, n);
            quatre = (n % 2) == 0;
        }
        
        int un;
        string dos;
        DateTime tres;
        bool quatre;

        public int IntegerColumn
        {
            get { return un; }
            set { un = value; }
        }
        
        public string StringColumn
        {
            get { return dos; }
            set { dos = value; }
        }
        
        public DateTime DateTimeColumn
        {
            get { return tres; }
            set { tres = value; }
        }
        
        public bool BooleanColumn
        {
            get { return quatre; }
            set { quatre = value; }
        }        
    }
</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"/>
	<h1>Object Bound GridView</h1>
	<p>This grid takes data from an ArrayList of objects. Columns are autogenerated from object's properties.</p>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server"
			AllowPaging="True" PageSize="5" AutoGenerateEditButton="true" AutoGenerateColumns="true"
		>
			<PagerSettings Mode="NextPrevious"/>
			<AlternatingRowStyle BackColor="#FFFFc0"/>
			<SelectedRowStyle BackColor="red"/>
        </asp:GridView>
   		<asp:Button runat="server"/>

    </div>
    </form>
</body>
</html>