Hi,
What you have done is to change the text for the check box based on a database table. But my question is very different. I will use your code itself to demonstrate what I want. Instead of the just substitute it with text from a record in the table.
<asp:UpdatePanel ID="UpdatePanelAtributos" runat="server" UpdateMode="Conditional"
RenderMode="Inline" onload="UpdatePanelAtributos_Load">
<asp:Repeater ID="RepeatEntidades" runat="server"
DataMember="INFORMATION_SCHEMA.TABLES"
onitemdatabound="RepeatEntidades_ItemDataBound">
<HeaderTemplate>
<tr>
<td class="tituloTabla">
<asp:Label ID="Label2" runat="server" Text="Entidades:"></asp:Label>
</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
[<%# DataBinder.Eval(Container, "DataItem.Task_Number") %>
</td>
<td>
<asp:LinkButton CommandName="Remove" CommandArgument="
[<%#DattaBinder.Eval(Container, "DataItem.Task_Number")%> ID
="HyperDel" runat="server" Text="Delete" />
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</asp:UpdatePanel>
And the code
protected void RepeatEntidades_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
if (e.CommandName == "Remove")
{
Guid pri = new Guid(e.CommandArgument.ToString());
DeletefTask(pri); /* Function to delete record containing the task_number which is currently displayed in the repeater. On deleting this record here the data displayed in the repeater should actually dispappear. That does not happen and it simply sits there even though in the database the record gets deleted. */
}
}
I hope that explains my problem. If you can find an answer to that I would be very happy to know of it.
Warm Regards,
Jayakumar