C# equivelent of a VBscript sub routine
Hi,
I have just recently moved from VBscript / ASP classic to C# ASP.NET 3.5 and wanted to reuse a function which displays and image every time it's called using <%moregif%>
Sub MoreGif
response.write("<img border=""0"" src=""../images/more.gif"" style=""vertical-align:middle; margin-right:5px; margin-top:15px; width:66px; height:14px; padding-bottom:1px;"" />")
End Sub
How should I go about doing this?
Thanks