~Bean~ Level: VB Guru

 Registered: 07-04-2003 Posts: 488
|
Re: Include file in asp.net
You could do it that same way you've always done it (with an include)...but .NET would rather have you make a user control and put that on your page...
This is easy to do...in Visual Studio right click on your project in the Solution Explorer and select Add->Web User Control. Put your HTML in the user control then you can drag the user control onto your main page and VS will do the rest.
____________________________
Eggheads unite! You have nothing to lose but your yolks.
|