views:

24

answers:

0

Hey guys

I've got a lot of legacy reports, some in vb.net and some in c#. This code base uses include files to add a centralized header and footer to each page like so.

<!--#include file="/includes/header.inc" -->

I need to add some server side code into these header files to add some functionality but because the reports dont share a common language, I cant use either c# or vb.net.

I looked into using user controls but because the header isnt included at the absolutely top of the page, the compiler isnt happy.

Does anyone know how I can do this?

Thanks! Trev