textreportcollection.cs
来自「ASP.NET 建立和发布可自定义 Web 报表的指南」· CS 代码 · 共 36 行
CS
36 行
using System;
using System.Data;
using System.Configuration;
using System.Collections;
namespace ASPNET.StarterKit.Reports.Components
{
//*********************************************************************
//
// This class inherits from the ArrayList class. This 'thin class'
// will hold the result values from the stored procedure queries
// run in the TextReport class.
//
//*********************************************************************
public class TextReportCollection : ArrayList
{
public enum TextReportFields
{
// Put new enumerations here
// Since there is no sorting in this report, there
// are no enumerations currently implemetned
}
public void Sort(TextReportFields sortField, bool isAscending)
{
// Implement Sort method here
// There is currently no sorting in the Text report
}
// Place IComparer implementations here
// There is currently no sorting in the Text report, and
// therefore no need for any IComparer implementations
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?