J
John Salerno
Hi all. I'm new to C# and haven't really used ASP.NET much yet. I'm
wondering if there's a fairly simple way to write a bit of code that
would allow me to insert an image into an html page, for use in multiple
pages, so that if I ever need to change the image I can change just one
file instead of each page.
PHP was suggested to me, something like:
<?php #include file="name.ext"; ?>
OR
<? include $_SERVER['DOCUMENT_ROOT'] . "/images/some_file.jpg"; ?>
but I was wondering if I could do this in ASP.NET also, since I'd like
to sort of stay in the realm of .NET programming right now.
Thanks.
wondering if there's a fairly simple way to write a bit of code that
would allow me to insert an image into an html page, for use in multiple
pages, so that if I ever need to change the image I can change just one
file instead of each page.
PHP was suggested to me, something like:
<?php #include file="name.ext"; ?>
OR
<? include $_SERVER['DOCUMENT_ROOT'] . "/images/some_file.jpg"; ?>
but I was wondering if I could do this in ASP.NET also, since I'd like
to sort of stay in the realm of .NET programming right now.
Thanks.