<asp:Repeater ID="MyRPT" runat="server"> <ItemTemplate> <asp:Label ID="NameAndFamily_lbl" runat="server" Text='<%#Eval("Name")%>'></asp:Label> <img ID="FileAttachment_img" src='<%#Eval("FileAttachmentURL")%>'/> </ItemTemplate> </asp:Repeater>
protected void DeleteMyPost_Click(object sender, EventArgs e) { //Delete item from DB (this is ok) //Delete all files from directory (this is my problem) }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)