Posted on: 4/26/2013 1:18:19 PM | Views : 270

Hi, I'm developing user page where he can view his uploaded files. I'm using LINQ and ADO.NET entity framework. In the aspx page I have Listview control and Entity data source. My ListView looks like:
<asp:ListView ID="ListView1" runat="server" DataKeyNames="Id" DataSourceID="EntityDataSource1" ItemType="MyWebsiteModel.Image"> <ItemTemplate> <li> Upload date: <asp:Label ID="CreateDateTimeLabel" runat="server" Text='<%# Item.CreateDateTime %>' /> <br /> Category: <asp:Label ID="CategoryLabel" runat="server" Text='<%# CategoryName %>' /> <br /> <asp:Button ID="DeleteButton" runat="server" CommandName="Delete" Text="Delete" /> </li> </ItemTemplate> </asp:ListView> For example in code behind I'm ...

Go to the complete details ...