I have a repeater in my webpage which containing Buttons as well..
<asp:Repeater ID="rptView" runat="server" OnItemDataBound="rptView_ItemDataBound">
<HeaderTemplate>
<table border="0" width="90%">
<tr class="RepeaterHeader">
<th align="center">Date</th>
<th align="center">Category</th>
<th align="center">Description</th>
<th align="center">Amount</th>
<th align="center"></th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr class="RepeaterData">
<td align="center"><%#Eval("CurrentDate") %></td>
<td align="center"><%#Eval("Category") %></td>
<td align="center"><%#Eval("Description") %></td>
<td align="center"><%#Eval("Amount", "{0:C}")%></td>
<td align="center"><asp:Button ID="btnDelete" runat="server" Text="Delete" CssClass="Button" OnClick="Remove" /></td>
</tr>
</ItemTemplate>
i want detect which row of the Button is exaclty clicked,
then i have to retrieve the value of Category of the Button clicked row due to remove the data.
Any way is able to retrieve data of the repeater from code behind?