G
Guest
Hi
I've just started learning web programming with ASP.net and C#, having been an "ordinary" ASP programmer for a few years.
I used to use the #include directive to attach files created which included functions, which I could call to display certain parts of a site (the menu, top bar, footer, etc) to make life easier.
My question is simply.. what's the best way to do a similar thing in ASP.net / C#? Should I still use #include? I've a feeling there's a better way these days! (BTW, these included functions frequently referenced the database).
Thanks for any help,
Cheers
Dan
I've just started learning web programming with ASP.net and C#, having been an "ordinary" ASP programmer for a few years.
I used to use the #include directive to attach files created which included functions, which I could call to display certain parts of a site (the menu, top bar, footer, etc) to make life easier.
My question is simply.. what's the best way to do a similar thing in ASP.net / C#? Should I still use #include? I've a feeling there's a better way these days! (BTW, these included functions frequently referenced the database).
Thanks for any help,
Cheers
Dan