A Grouping and Subtotaling Repeater for ASP.NET

战国BC447年世界历史地图矢量文件SHP格式.zip 本资源为《战国BC447年世界历史地图矢量文件SHP格式》压缩包,文件大小约 2.26 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。 立即下载

Download the Code

A recent project had a user interface requirement where data could be displayed two ways: either in chronological order (easy!) or grouped by family member (less easy). Furthermore, if the user selected a family-member sort, the name of the person was to be shown on a line before the data — in a different style than the data itself — and subtotals of some of the columns were to be shown after the individual’s data.

Yikes! Not so easy — no supplied ASP.NET control delivers that type of functionality. While one solution would be to loop through the data and dynamically create a table, that’s hardly elegant or reusable and not much fun to boot.

A Google search for possible solutions turned up an excellent article by Rob van der Veer, A Grouping Repeater Control for ASP.NET. Rob’s article presented a control that grouped data based on a single column (with no subtotaling) — not quite what I was looking for but a great start. This article extends that idea (in VB .NET) to create the output shown above.

Why the Repeater?

The repeater is the natural choice to extend because:

  1. It’s a databound templated control, which is what we need.
  2. It exposes events that come in handy in creating our custom functionality.
  3. It's unburdened by a lot of unnecessary functionality other templated databound controls like the DataGrid and DataList have — we don’t need paging and our sorting options are constrained.

We can avoid the performance penalties of these rich controls by extending a control that provides only the base functionality and interface we require.

The repeater is a lightweight control that lends itself perfectly to the problem at hand, and has a lot of built-in functionality that we get by extending the control — we don’t have to re-create what is already working. That’s the beauty of extending an object!

The Demo Data

I have included an example XML file ("STRData.xml") that will serve as our data source for this article. We need to sort the data source in this example, so I read it into a DataSet and then return DataSet.Tables(0) to the control. A DataTable is used as the base data source because it can be sorted by one or more columns — a requirement for our control, as it needs a pre-sorted data source. Your data will likely come from a database query with an OrderBy command providing the pre-sorted (but not grouped) data for you. Your data can of course be in a DataReader, DataSet, or any other legitimate .NET data container object.

Feel free to queue up “Appetite For Destruction,” while working through this demo.

The Control in Action

This section describes how the control can be used on an ASP.NET page. We’ll look under the hood to see how it works in the next sections.

First, we declare the control at the top of our code-behind class:

Protected WithEvents strpt As Utils.Webcontrols.GroupingRepeater

In the Page_Load event, we call a private method (PopulateSubtotalRepeater) that configures and populates the control:

Private Sub PopulateSubtotalRepeater()
Dim dt As DataTable = Me.GetData ' retrieve the data source
Dim dv As DataView
If Not dt.Rows.Count = 0 Then
   dv = dt.DefaultView
   Dim blnIsGroupingDisabled As Boolean
   Dim strColToSort, strSecondarySort As String
   If Me.IsSortByPerson Then
      strColToSort = "TAG_NUMBER"
      strSecondarySort = ", SERVICE_DATE, CLAIM_ID"
      blnIsGroupingDisabled = False
   Else
      ' don't group or sort by person
      strColToSort = "SERVICE_DATE"
      strSecondarySort = ", INITIALS"
   blnIsGroupingDisabled = True
   End If
   dv.Sort = strColToSort & " ASC" & strSecondarySort

   With Me.strpt
      .DataSource = dv
      .ColumnToGroup = strColToSort
      .IsGroupingDisabled = blnIsGroupingDisabled
      ' specify columns
      .AddSubTotalColumn("CLAIMED_AMOUNT", GetType(Double))
      .AddSubTotalColumn("ELIGIBLE_AMOUNT", GetType(Double))
      .AddSubTotalColumn("DEDUCTIBLE_AMOUNT", GetType(Double))
      .AddSubTotalColumn("PAID_AMOUNT", GetType(Double))
      .DataBind()
   End With
Else ' empty datatable: don't bother with binding or calculations
      Me.strpt.DataSource = Nothing
End If
End Sub

This code looks a lot like what we would use to bind data to a regular Repeater. After sorting the source DataTable (via a DataView), we specify the DataView as the DataSource of the control and call the DataBind() method afterwards — nothing new there. In between, we configure a couple of custom members of our control.

We need to specify which column will be used to “group” our results, and do so by setting the public ColumnToGroup property. Only one such column can be specified — for our purposes, it’s the person’s initials.

Our control allows the grouping/subtotaling behavior to be “turned off” via a public property called IsGroupingDisabled.  We set this based on user input — whether we are sorting by date (disable grouping) or person (enable grouping). Our control also requires us to specify which columns we wish to display group subtotals and a grand total for. We use the public method AddSubTotalColumn to do so. This interface is analogous to how we would add a column to a DataTable (for good reason, as we’ll soon see). That’s it — two new properties to set and one method to call.

The user interface code is also quite similar to what we’d see in a Repeater, with an itemtemplate and alternatingitemtempalte specified (see the default.aspx page code). Three new templates are presented: grouptemplate, grouptemplateheader, and grouptemplatetotal.

These custom templates are responsible for displaying the subtotaled amounts, the group “name” row that precedes the grouped data (in our case, the person’s name), and the total of all subgroups displayed, respectively. Notice that the grouptemplate and grouptemplatetotal are calling on the same columns specified in our AddSubColumnTotal method calls in the code-behind page. All of the data items (i.e. column names) bound in the UI code come straight from the DataSource.

Building the Control

The implementation details of the control have been hidden from the caller, as they should be, subsumed into three new templates, two public properties and one public method call. Simple! The user manual for this control would be very short. So what’s going on under the hood?

This control relies on a private DataTable (_dtColumnTotals) to keep track of both the subtotals and totals of the columns specified by the consumer. Each call to AddSubTotalColumn adds a new column to this underlying DataTable.

When the DataBind method is called, the process of looping through the source data and binding to the control begins. This fires the ItemCreated event, whose handler (GroupingRepeater_ItemCreated) is specified in the control’s constructor via the AddHandler statement. This insures that each time a DataItem is bound to our control we can perform whatever logic and processing are required first.

Before any items are bound, we initialize the DataTable by adding two rows — one for subtotals, one for totals — and initializing all column values to zero. This is done by the InitialiseColumnTotals method. This method also sets a private boolean property, _dtInitialised, which informs us in the PreRender event whether in fact any data were bound to the control — that is, whether we have two rows of valid data to work with in the final rendering stage of the control’s life. This is really just a safety check to prevent the code from bombing if no data are bound to the control.

Next, after determining whether we are supposed to be grouping data based on a check of the Public boolean property IsGroupingDisabled, we check whether we are on the same group or whether a new group needs to be created via a call to the private ItemComparer property of our control.

The ItemComparer Class

This simple class, which implements the System.Collections.IComparer interface, is the key to deciding whether a new group needs to be created on each ItemCreated event (thanks to Rob van der Veer for this insight). The interface requires only one member to be implemented – Compare, a public function that returns an integer (0 for equality, -1 for inequality).

Our ItemComparer class implements this interface and exposes a single public property, ColumnToCompare, which is set when our control’s ColumnToGroup property is set (we also instantiate an instance of ItemComparer when this property is set — the constructor of the class requires ColumnToCompare be passed). Compare takes two objects as arguments — we pass the current DataRowView and the previous DataRowView (e.Item.DataItem, from the RepeaterItemEventArgs, e, passed to the ItemCreated event handler).

ItemComparer.Compare takes the previous e.Item.DataItem object and the current e.Item.DataItem object as arguments. We know which column from these DataRowView objects we are going to compare, because it was set in the constructor. Now all we need to do as grab the column values for each, and cast them to strings:

item1 = CType(v1.Row.Item(Me.ColumnToCompare), String)
item2 = CType(v2.Row.Item(Me.ColumnToCompare), String)

and call the CompareTo property of item1:

Return item1.CompareTo(item2)

So, returning to the control’s ItemCreated handler, if the call:

_comparer.Compare(lastvalue, e.Item.DataItem) <> 0

then we know that we need to start a new group. But first, what if we don’t need to start a new group, as will be the case on the first item bound and subsequent items where the value of the grouping column hasn’t changed?

Totaling The Columns

On each iteration of the ItemCreated event, we have to make sure we keep track of the totals (and possibly subtotals, if grouping is enabled) of the data source’s columns specified through calls to AddSubTotalColumn This is done via the private AddColumnTotals method, which loops through all of the columns in the DataTable, grabs their current item value, and increments each column’s total via a call to IncrementColumnTotal.

This method is responsible for incrementing the value of a single column, and depending on whether grouping is enabled increments the subtotal and total row appropriately. If grouping is enabled, we call this method twice for each column; if not, we only call it to track the total value. Thus, as we loop through our datasource, our underlying DataTable is keeping track of the column values for which we wish to display totals (and possibly subtotals).

Back to ItemCreated

Column totaling happens on every call to ItemCreated. But now we need to figure out what to do when our grouping value changes.

If our call to ItemComparer.Compare indicates that our grouping value has changed, we need to perform a series of tasks in response:

  1. Create a new Heading row (template) for the previous group.
  2. Create a new Subtotal row (template) for the previous group.
  3. Provide these new template items with data.
  4. Add the new items to the control and DataBind to them.
  5. Reset the subtotal values for the next group.
  6. Add the next group’s item totals for this round.

Here’s the code:

If (Me._globalCount > 1 And _comparer.Compare(lastvalue, e.Item.DataItem) <> 0) Then
   Dim item As New GroupSubTotal
   Dim itemHeading As New GroupHeader
   
   Me._groupTemplate.InstantiateIn(item)
   Me._groupTemplateHeader.InstantiateIn(itemHeading)
   
   ' the subtotals are bound to the FIRST row of the Private datatable that keeps continuous track of the running totals:
   item.DataItem = Me.dtColumnTotals.Rows(0)
   ' the header template is bound to the previous data item:
   itemHeading.DataItem = lastvalue
   ' check that we aren't trying to add the header to a bad index:
   Dim intCurrentIndex As Integer = Me.Controls.Count
   
   If Me._lastHeaderIndex <= intCurrentIndex Then
      Me.Controls.AddAt(Me._lastHeaderIndex, itemHeading)
   Else
      Me.Controls.AddAt(intCurrentIndex, itemHeading)
   End If
   
   ' add the subtotal template to the bottom of the control:
   Me.Controls.AddAt(intCurrentIndex + 1, item)
   ' bind to both templates:
   item.DataBind()
   itemHeading.DataBind()
   ' for the next / last rendered headers (PreRender event handler), we need to know where to put the last header control in the controls collection
   Me._lastHeaderIndex = intCurrentIndex + 2
   ' finally: reset the column totals and add the new first row:
   Me.ResetAllColumnSubTotals()
   Me.AddColumnTotals(CType(e.Item.DataItem, DataRowView), False)
Else
   ' grouping hasn't changed: add to subtotals
   Me.AddColumnTotals(CType(e.Item.DataItem, DataRowView), False)
   
End If

These steps are all accomplished in the code fragment. We create the two new templates, of types GroupSubTotal and GroupHeader, and associate these with our custom Public properties, GroupTemplate and GroupTemplateHeader.

Next we assign these templates data: in the case of the Header template, the data is the previous DataItem we processed (since the group has changed on this iteration). For the Subtotal template, it is the first row of our private DataTable, which has been tracking the subtotal values for us through all the previous iterations of the group’s items.

We need to tell the control where to render these new template items. For the subtotal item, that’s easy: it goes at the end of the Controls collection. For the header, things are a little more tricky: it has to preceed the items already bound to the control for this group (that is, all the individual data items). The private field _lastHeaderIndex helps us in this regard: the first time we add a header, we add it at the zero position. Then we set the _lastHeaderIndex value to (current number items + 2). The next time we add a header, it will be at this position, which is one below where the Subtotal template is created.

To finish off the group, we call the DataBind() methods for each of our template items, reset the subtotals row of the DataTable (the row at index 0, through a call to ResetAllColumnSubTotals) and add the current DataItem’s values to the DataTable.

The PreRender Event

The last concern we have is the control’s PreRender event. This method takes care of two important final chores:

  1. Render the last group’s header and subtotal templates, if grouping is enabled.
  2. Render the Total template.

This is the last event fired before the control is rendered, so it’s the appropriate place for these final steps. Step 1’s logic is essentially the same as the logic described for the ItemCreated event — we create, provide a data source for, and DataBind the last Header and Subtotal templates if grouping is enabled.

The last step is to create the GroupTotal template item, which holds the totals for all the DataItem's bound regardless of group (we assume that if a consumer is using this control, they at least want Totals for specified rows; otherwise why not just use a Repeater?). The process is much the same as creating a SubTotal template, except now we create a GroupTotal template instead and set it’s data source as the second row of the DataTable — where we’ve been storing the running total of all item values. We add this last control to the end of the Controls collection, call DataBind, and finally dispose of the DataTable as it is no longer needed and our object is about to expire. Mission accomplished!

Conclusion

I think this is a great example of the power and flexibility available to a developer through extending an existing control. With very little code, we have modified the Repeater control to group, subtotal, and total columns of our choosing — behavior not supported by the base control. Furthermore, we now have a control we can reuse to solve this problem next time it arises. Another tool in the developer toolkit! Again, thanks to Rob van der Veer for the initial inspiration for this solution. I hope it helps you meet a tough requirement as well.

CVPR 2024 LaTeX 模板实战:从匿名提交到图表排版的避坑指南 本文详细解析CVPR 2024 LaTeX模板的使用技巧,涵盖匿名提交设置、pdfLaTeX编译器选择、图表排版优化等关键环节。通过实战案例演示智能引用、公式编号、三线表制作等专业技巧,帮助研究者高效完成论文格式规范,规避常见排版错误。特别针对双栏格式下的图片定位、跨栏表格等复杂场景提供解决方案。 阅读详情

相关推荐

别再傻傻分不清了!用Design Compiler和PrimeTime实操对比PBA与GBA模式

本文深度解析静态时序分析(STA)中Design Compiler与PrimeTime工具的PBA与GBA模式差异,通过实际案例演示两种模式在转换时间计算、时钟路径分析等方面的对比,并提供工程实践中模式选择的策略与调试技巧,帮助工程师在芯片设计流程中平衡精度与效率。

weixin_42552315的博客 415

Diagnostic info printed to the standard error stream

Log sequence number 1621428427288 Log flushed up to 1621428427288 Pages flushed up to 1621428426132 Last checkpoint at 1621428426132 0 pending log flushes, 0 pending chkp writes 56880 log i/o's done, 0.00 log i/o's/second ---------------------- BUFF

weixin_42279969的博客 2160

保姆级教程:用STM32H743+TJA1042T玩转FDCAN,CubeMX配置1M/5M双速率通信(附完整代码)

本文提供STM32H743与TJA1042T实现FDCAN双速率通信的保姆级教程,详细讲解CubeMX配置1M/5M双速率通信的全过程,包括硬件连接、时钟树配置、过滤器设置及中断管理,并附完整代码示例,助力开发者快速掌握FDCAN高速通信技术。

weixin_30698297的博客 482

Integrating PayPal into E-Commerce Solutions with ASP.NET

By Rick Strahlwww.west-wind.comrstrahl@west-wind.com Last Update:November 02, 2004 Whats covered:Overview - where does PayPal fit in?How PayPal Processing worksWalkthrough and

流男@水孩 8579

3台虚拟机部署Doris详细文档(含校验步骤)

摘要:本文详细介绍了Apache Doris在3台虚拟机上的集群部署方案。采用1主FE+1从FE+1观察者FE+3BE的混合部署模式,确保元数据高可用性。硬件配置建议测试环境4核16GB内存,生产环境8核64GB内存。部署步骤包括系统环境配置(关闭防火墙、内核参数优化)、FE/BE节点配置启动、集群初始化验证等。重点配置了IP白名单(172.30.0.115)和数据目录(/data/doris)。通过MySQL客户端和WebUI可监控集群状态,实现千万级数据的实时分析能力,后续可通过增加BE节点线性扩展。

weixin_41026747的博客 940

VisionMaster 4.2.0安装

按照顺序安装。

XuXing_java的专栏 3962

Creating New Modules In The CSK

Published by Packt PublishingAuthor(s) Cristian Darie, K. Scott Allen The next three chapters in this book will demonstrate various methods of customizing the CSK. Every community site will have d

流男@水孩 3977

【GameFramework框架内置模块】2、数据节点(Data Node)

这一篇讲数据节点DataNode,基本开发程序都会有类似数据节点作用的东西,数据节点的作用其实就是保存游戏运行时的一些缓存数据,比如用户登录信息、用户名、任务节点等等。数据一般会有增删改查这四种操作,在运行时的数据一般是使用单例或者静态属性,将数据存储在内存中而数据节点也是将数据存储在内存中,但是不用序列化数据,比使用单例或者静态属性要容易维护的多,特别时它的树形结构可以让我们很好的组织我们的数据结构,方便做增删改查操作。数据节点DataNode模块的数据的存储方式是以树形结构存储。

CSDN博客专家,Unity3D高级软件工程师,《Unity 3D从入门到实战》作者。 3199

Searcharoo Too : Populating the Search Catalog with a C# Spider

Download the source code for this article [ZIP 8kb] Comment on this article at TheCodeProject Article I describes building a simple search engine that crawls the filesystem from a specified

流男@水孩 3669

【WLAN】【调试】如何使用Wireshark分析加密的WiFi数据包

- 当配置网卡为monitor 模式的情况下,可以使用 wireshark来抓取空口报文; - 如果WiFi采用非Open加密方式,则从报文中仅能分析到 802.11协议层,更底层(如DHCP、ICMP、TCP等)被加密,此时可以使用 wireshark 来完成解密。 - 解密之后,可以通过icmp、tcp等关键词过滤报文。

一介草民,只为生活。 3005

107.在 Vue 3 中使用 OpenLayers 实现视图联动功能

是一个非常强大的 Web 地图渲染库,支持多种地图数据格式和交互操作。在 Vue 3 中,我们可以利用。绑定到真实的 DOM 元素上,我们就可以用它们来初始化 OpenLayers 地图。来封装和管理 OpenLayers 地图的状态,从而更高效地开发地图应用。,即两个地图窗口共享同一个视图(View),从而实现同步缩放、拖动等操作。这可以确保 Vue 组件销毁时,OpenLayers 也正确销毁地图实例。,并且它们会同步缩放和拖动,达到地图联动的效果。这样,无论你拖动哪个地图,另一个都会同步变化。

小彭的博客 1960

Use Office Web Components to Load Excel and perform calculations in ASP.NET

Ive talked about using Excel, OWC SpreadSheet and the OWC Chart class from ASP.NET in several other articles here. Theres one last item I never covered, and its an important one, now that Office XP

流男@水孩 2968

高云FPGA系列教程(2):FPGA点灯工程创建、程序下载和固化

相比于国外FPGA厂商EDA开发环境,几个G到几十个G的大小,高云云源软件安装包也很小巧,界面也很简洁,综合速度非常快,是我没想到的,好像在使用单片机一样,点一下就编译完成了,以本文简单的LED示例工程为例,比特流文件几乎在几秒钟内生成;无论是下载比特流文件到RAM还是Flash中,速度都很快,而且只有一种fs程序文件格式,不用再进行bit/mcs转换;云源软件自带的编辑器也很好用,和Notepad++界面差不多,而且快捷键很方便,具有基本的自动补全功能。

whik1194的博客 5466

Automatically Printing Crystal Reports in ASP.NET

IntroductionUnlike the Windows Forms CrystalReportViewer toolbar, the web-based CrystalReportViewer toolbar does not include a print button.  For reports that are directly rendered as HTML

流男@水孩 2582

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

GridView sorting

 Introduction As you may know the GridView have built in support of sorting. In the current version of ASP.Net 1.x, we don’t have the GridView control. Instead you have the DataGrid control. To

流男@水孩 2242

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

Screen Scraping, ViewState, and Authentication using ASP.Net

 Before web services came along, screen scraping was a popular technique for grabbing the output from another application by examining the text it displays on the screen. For web applications, this

流男@水孩 2241

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

ASP.NET WebParts Connections Transformers Tutorial

ContentsDownload: Pending...IntroductionSample ScenarioSummaryIntroduction Connections are a very powerful feature of WebParts that allows interchanging data between two webparts, allowing creat

流男@水孩 2239

Accessibility Improvements in ASP.NET 2.0

Table of Contents <!--OAS_AD(flex);//--> Page 1 Introduction Accessibility and the Law Accessibility Issues in Web Pages Areas for Improvement Recomm

流男@水孩 2161

Page Template Framework for ASP.NET 1.1

29 members have rated this article. Result:Popularity: 6.41. Rating: 4.38 out of 5.Download source files - 16.8 Kb Download demo project - 77.6

流男@水孩 2159

ASP.NET SQLCacheDependency with SQLite and Triggers

The SQLite database engine is getting better all the time, with Version 3.0.6 now out and 3 "Final" not too far off. If you arent familiar with SQLite, you might want to catch up by reading my previo

流男@水孩 2009

Queue MSMQ Messages from SQL Server

download source code If youve ever found yourself scratching your head, wondering how to queue a message from MS SQL Server, then you might find yourself writing your own plumbing. (Microsoft wil

流男@水孩 2008

NATA1 Walk Through

My mission, To implement NATA1 to spider and search my .Text site. Props to Paul [Sedgewick@Nata1.com] for sharing his source and walkthough to get me started on this, and for responding to my pleas f

流男@水孩 2000

Build A C# SQL Server Database Export Utility

One of the most common actions developers need to perform is the scripting of databases for archiving, distribution and installation purposes. Sql Server has the capability to script databases, but it

流男@水孩 1993

ASP Tools for Software Development

What is an Applications Services Provider?Once upon a time, when computers where so expensive that not all companies could afford them, most of the processing was performed by specialised firms that

流男@水孩 1959

Wi-Fi Direct 真机实践:STA 与 P2P 共存对通信稳定性的影响

从无线接口并发、主副信道和射频分时调度出发,分析 STA 与 Wi-Fi Direct 共存对通信延时、抖动及 GO 发现的影响,并讨论同主信道、P2P 独占与独立无线网卡的适用条件。

wdfk-prog.space 76

GPUDirect RDMA性能测试与调优实战指南

本文深度剖析GPUDirect RDMA(GDR)在AI集群中的性能测试与调优。涵盖GDR数据路径原理、PCIe拓扑距离计算、NCCL_NET_GDR_LEVEL调优,并提供perftest与NCCL完整测试矩阵。结合B200 IOMMU降级、跨NUMA拓扑错配等真实故障案例,给出系统级排查链路与调优最佳实践。

专注分享DPU、RDMA智能网卡/SSD(固态硬盘)产品测试与优化 221
上一篇: ASP.Net 2.0 Client Callbacks, makes remote scripting easier
下一篇: 关于数组的插入与删除以及排序
waterboy
博客等级 码龄24年 8粉丝 156原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值