How to Find Current Row of Repeator in parent repeater?
<pre><code>&lt;asp:Repeater ID="rp1" runat="server"&gt;
        &lt;ItemTemplate&gt;
            &lt;ul&gt;
                &lt;li&gt;
                    &lt;%#Module(Convert.ToInt32(Eval("id")),Eval("university").ToString()) %&gt;
                    &lt;asp:Repeater ID="rp2" runat="server"&gt;
                    &lt;ItemTemplate&gt;
                    &lt;ol&gt;
                    &lt;li id="sublist" runat="server"&gt;
                    &lt;%#Eval("college") %&gt;
                    &lt;/li&gt;
                    &lt;/ol&gt;
                    &lt;/ItemTemplate&gt;
                    &lt;/asp:Repeater&gt;
                &lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ItemTemplate&gt;
    &lt;/asp:Repeater&gt;
</code></pre>

<h1>C# CODE</h1>

<pre><code>public string Module(int id,string university)
    {
        con = new SqlConnection(ConStr);
        con.Open();
        cmd = new SqlCommand("SELECT college FROM tbluniversity where id=" + id, con);
        da = new SqlDataAdapter(cmd);
        con.Close();
        ds = new DataSet();
        da.Fill(ds);


//Here I want to find the inner repeator of current row then bind this dataset to that.
how to find Repeator


        return university;
    }
</code></pre>
