Author: Hon123456 | Posted on: 1/8/2010 1:31:43 AM | Views : 395

Dear all,
         I have a subclass Calendar in a cs file. The file is as follows, and I put it in directory named "Test/DataCalendar.cs" .
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace DataControls
{   
    /********************************************************
      Class DataCalendarItem
        - serves as the container for a single calendar entry,
          allowing for databinding syntax like the following
          to be used in the .aspx page:
         
            <%# Container.DataItem("MyField" ...

Go to the complete details ...