Posted on: 8/30/2012 8:31:11 AM | Views : 549

Hi Guys,
I only want to show imagejpg1 if a.html size <100kb.
How would I update the below code to make this happen?
Thanks
 
Imports System.IO Partial Class webpage Inherits System.Web.UI.Page Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load Dim myFilePathgif As String = Server.MapPath("a.html") If File.Exists(myFilePathgif) Then imagejpg1.Visible = false Else imagejpg1.Visible = true End If End Sub End Class
 
 
...

Go to the complete details ...