AboutSyed Rizwan Muhammad Rizvi Expertise I can answers questions regarding web based and desktop based programming in VB.Net. Which can include SOAP, XML, Custom Controls, COM Interoperability etc.
Experience Have been working in this specific area for last 2 years previously I was a VB 6 Developer with experties in other languages as well. Total 10 years of programming experience.
Expert: Syed Rizwan Muhammad Rizvi Date: 8/18/2006 Subject: Developing web enabled application in asp.net
Question I am developing web enabled application in asp.net. I want to inlude jpg file in asp.net as header in all aspx file. AS I include file like this <<!--#include file="header_ssca'jpg"-->
it includes file as junk character. moreover i should get the control of execution in the file which is including it but i am not getting it.
i have tried with server.execute and server.transfer but i am unable to get.
please help me
Answer Simply use the <img> HTML tag or the ASP.Net image control to display the header image so it would be like <img src=jpegfilename> you can even write this img code in a separate HTML file and include it using the include directive. Please remember that server.execute and transfer are for executable scripts not images or static HTML files.