/// <summary>
    /// 绑定Grid
    /// </summary>
    protected void BindGrid()
    {
        GCalendarArrangeBB calendarArrangeBB = new GCalendarArrangeBB();
        DataSet ds = new DataSet();

        try
        {
            ds = calendarArrangeBB.GetVList(this.StrWhere);

            // 组合列表属性
            StringBuilder sBuilder = new StringBuilder();
            sBuilder.Append("主题|@subject|@|@left");
            sBuilder.Append("|!时间|@arisesDt|@|@left");
            sBuilder.Append("|!地点|@locus|@|@left");
            sBuilder.Append("|!已读|@isReadDesc|@|@center");

            //关联属性
            this.dataGrid.TitleDescription = sBuilder.ToString();
            this.dataGrid.DataSource = ds.Tables[0];
        }
        finally
        {
            calendarArrangeBB.Dispose();
        }
    }
    /// <summary>
    /// ��Grid
    /// </summary>
    protected void BindGrid()
    {
        GCalendarArrangeBB calendarArrangeBB = new GCalendarArrangeBB();
        DataSet ds = new DataSet();

        try
        {
            ds = calendarArrangeBB.GetVList(this.StrWhere);
            this.grid.DataSource = ds.Tables[0];
            this.grid.DataBind();

            HS.Function.CommFunction.SetColWidth(this.grid, 5, 20);
            //��ֵ��¼������ҳ������
            this.Label3.Text = ds.Tables[0].Rows.Count.ToString();
            this.Label2.Text = this.grid.PageCount.ToString();
            this.currPage.Text = (this.grid.PageIndex + 1).ToString();
        }
        finally
        {
            calendarArrangeBB.Dispose();
        }
    }