Active Server Pages Programming (ASP)/ASP.NET VB Common code include

Advertisement


Question
Hi there,

I have just completed my first ASP.NET project (adding a search engine to the Canterbury Cathedral website). I would like to further improve the site and have a question before I start.

I would like to have a couple of componants (a calendar and a press/news item). Both of these would run as a small data grid and be re-used on multiple pages. I would like to have an included common code script and the call the functions as needed on the pages.

Could you please advise on the best way of doing this? Would I put the datagrid on every page and do the binding on the include?

Many thanks

Russell

Answer
Hi

Here are two links, complete code available. you can take this and do some Layout change it will be ready for you.

http://aspnet.4guysfromrolla.com/articles/041603-1.aspx
http://www.codeproject.com/aspnet/MellDataCalendar.asp

Happy Programming!

-Srini

Active Server Pages Programming (ASP)

All Answers


Answers by Expert:


Ask Experts

Volunteer


Srini Nagarajan

Expertise

I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience

Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.

©2012 About.com, a part of The New York Times Company. All rights reserved.