<asp:FileUpload ID="QuestionUp" runat="server" onchange="" CssClass ="Fileupload" /> <div> <asp:Image ID="Image2" runat="server" Height="26px" Width="222px" /> </div>
Protected Sub btnPreview_Click(ByVal sender As Object, ByVal e As System.EventArgs) QuestionUp.SaveAs(Server.MapPath("~/UploadImg/Preview/test.jpg")) Image2.ImageUrl = "~/UploadImg/Preview/test.jpg" Image2.Visible = True
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)