资源简介
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
相关资源
- bw02w7.doc
- C双色球彩票模拟抽奖、随机生成号码
- 国际地球自转和参考系统技术通知第
- 网站整站器.rar
- 星载双频软件GPS接收机研究.kdh
- 运动员最佳匹配问题.zip
- RtmpClient.rar
- get06.19.rar
- IP数据包的捕获于分析.rar
- Hive简介(1).ppt
- 电脑鼠转弯算法.pdf
- jjmm2009_6938107.zip
- ZLGCAN_labview.zip
-
CarrierFrequencySynchronizationintheDownli
n - 线性系统答案.zip
- nrf905KB-1B-1BV3.42.zip
- 滑动窗口协议.zip
- 九宫格源代码八数码算法VC实现.rar
- 985高校204套电子电气专业课题设计、
- 基于单片机的直流电机PWM调速控制系
- 计算机专业复试面试经典问题(含答
- libstdc-devel-4.4.7-4.el6.x86_64.rpm
- ImageEditDemo.zip
- 20170508095032398.rar
- Saber软件.rar
- txt(5)
- httpclient-4.5.3.CHM
- 计150326周艺最新版本.zip
- 基于RFID的学生门禁系统C源码、说明文
- 信息安全技术_网络安全等级保护基本
评论
共有 条评论