资源简介
GroupingView_src.zip

代码片段和文件信息
/***************************************************
* This code is Copyright 2008 Michael J. Ellison. All rights reserved.
* Usage and distribution of this code is governed by the
* CodeProject Open License. A copy of the license may be found
* at:
* http://www.codeproject.com/info/cpol10.aspx
* **************************************************/
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace UNLV.IAP.WebControls
{
///
/// When bound to a datasource computes an aggregation function
/// across all the items of the datasource
///
///
///
/// The Aggregation control displays its computed value like a control
/// assuming the DataSource has been bound and DataBind() called (or DataSourceID is assigned
/// to a datasource control).
///
///
/// Set the property to one of the
/// values to specify the aggregation operation
/// to perform across the datasource. If the datasource represents a list or collection
/// of objects or the datasource implements then
/// specify the field to aggregate in the property.
/// Otherwise if the datasource is a list or array of primitive-type values or
/// if the Count function is employed
/// the property may be left blank.
///
///
/// For numeric functions such as Sum and
/// Avg field items that are not numeric
/// are ignored.
///
///
[ToolboxData(“<{0}:Aggregation runat=server>{0}:Aggregation>“)]
[Designer(typeof(AggregationDesigner))]
public class Aggregation : CompositeDataBoundControl
{
private const string kViewState_FunctionValue = “__!FunctionValue“;
private AggregationFunction _function = AggregationFunction.Count;
private string _dataField = ““;
private string _formatString = ““;
private object _value = null;
#region Properties
///
/// Gets or sets the aggregation function to computed across the assigned
/// DataSource .
///
public AggregationFunction Function
{
get { return _function; }
set { _function = value; }
}
///
/// Gets or sets the field within the DataSource to aggregate.
///
///
/// I
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1428 2008-06-27 11:42 GroupingView\GroupingView.sln
文件 115712 2008-07-11 17:07 GroupingView\GroupingView.suo
目录 0 2008-07-11 17:08 GroupingView\GroupingView\
文件 29238 2008-07-11 17:05 GroupingView\GroupingView\Aggregation.cs
文件 4350 2008-07-11 17:05 GroupingView\GroupingView\AggregationDesigner.cs
文件 3265 2008-07-11 17:05 GroupingView\GroupingView\AggregationDesignerActionList.cs
文件 2634 2008-07-11 17:05 GroupingView\GroupingView\AggregationFunction.cs
目录 0 2008-07-11 17:08 GroupingView\GroupingView\bin\
目录 0 2008-07-11 17:08 GroupingView\GroupingView\bin\Debug\
目录 0 2008-07-11 17:10 GroupingView\GroupingView\doc\
文件 96154 2008-07-11 17:05 GroupingView\GroupingView\GroupingView.cs
文件 3168 2008-07-10 16:59 GroupingView\GroupingView\GroupingView.csproj
文件 1530 2008-07-11 17:05 GroupingView\GroupingView\GroupingViewCommandEventArgs.cs
文件 1542 2008-07-11 17:05 GroupingView\GroupingView\GroupingViewDelegates.cs
文件 7497 2008-07-11 17:05 GroupingView\GroupingView\GroupingViewDesigner.cs
文件 2771 2008-07-11 17:05 GroupingView\GroupingView\GroupingViewDesignerActionList.cs
文件 3019 2008-07-11 17:05 GroupingView\GroupingView\GroupingViewEventArgs.cs
文件 3057 2008-07-11 17:05 GroupingView\GroupingView\GroupingViewGroupItem.cs
文件 706 2008-07-11 17:05 GroupingView\GroupingView\GroupingViewGroupItemCollection.cs
文件 3417 2008-07-11 17:06 GroupingView\GroupingView\GroupingViewItem.cs
文件 688 2008-07-11 17:06 GroupingView\GroupingView\GroupingViewItemCollection.cs
文件 928 2008-07-11 17:06 GroupingView\GroupingView\GroupingViewSeparatorItem.cs
文件 611 2008-07-11 17:06 GroupingView\GroupingView\GroupingViewTemplateEnum.cs
目录 0 2008-07-11 17:08 GroupingView\GroupingView\Properties\
文件 1559 2008-07-11 16:15 GroupingView\GroupingView\Properties\AssemblyInfo.cs
目录 0 2008-07-11 17:08 GroupingView\TestGroupingView\
文件 2465 2008-07-03 13:16 GroupingView\TestGroupingView\Aggregations1.aspx
文件 1809 2008-06-30 13:30 GroupingView\TestGroupingView\Aggregations1.aspx.cs
文件 1143 2008-07-03 12:54 GroupingView\TestGroupingView\Aggregations1.aspx.designer.cs
目录 0 2008-07-11 17:08 GroupingView\TestGroupingView\App_Data\
文件 2097152 2008-07-11 17:07 GroupingView\TestGroupingView\App_Data\Cities.mdf
............此处省略40个文件信息
- 上一篇:C双色球彩票模拟抽奖、随机生成号码系统.rar
- 下一篇:bw02w7.doc
相关资源
- vspd7.2.308.zip
- 价值2k的H漫画小说系统
- Pythonamp;课堂amp;笔记(高淇amp;400;集第
- ddos压力测试工具99657
- UML建模大全
- 开源1A锂电池充电板TP4056原理图+PCB
- m1卡 ic卡可选择扇区初始化加密软件
- TSCC.exe
- FTP课程设计(服务端+客户端)
- 计算机图形学 边填充算法实现代码
- 电力系统潮流计算程序集合
- oracle数据迁移项目实施方案
- Web Api 通过文件流 文件到本地
- Visio图标-最新最全的网络通信图标库
- Spire API文档
- OpenGL参考手册
- Python中Numpy库最新教程
- SPD博士V5.3.exe
- 直流无刷电机方波驱动 stm32 例程代码
- layui后台管理模板
- 仿知乎界面小程序源代码
- 云平台-阿里云详细介绍
- photoshop经典1000例
- scratch垃圾分类源码(最终版本).sb
- IAR ARM 7.8破解
- TI CCS V5.4 安装步骤及破解文件
- 松下plc FP-XH的驱动
- 局域网硬件信息收集工具
- 加快Windows XP操作系统开机速度
- 联想启天M4350 BIOS升级文件
评论
共有 条评论