Posted on: 6/17/2015 9:39:04 PM | Views : 621

I need to allow a user to upload images and display the most current one on a web page.  I use the upload control to upload and save images in a file and that works fine.  I can display all the images in a file using a gridview, however I don't know how to get just the most current one and display just that one.
How can I select and display the most recently uploaded image?
<%@ Page Title="" Language="VB" MasterPageFile="~/Members.master" AutoEventWireup="false" CodeFile="AddNewsPicture.aspx.vb" Inherits="Members_Admin_AddNewsPicture" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"> <div class="membersContent"> <h2> Add News with Picture</h2> <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="btnUpload&qu ...

Go to the complete details ...