摘要:
首先看看效果:Repeater控件,放在ItemTemplate内的铵钮OnClick之后,获取Repeater的Item,ItemIndex,CommandArgument,CommandName以及绑定的字段值。准备数据:View Code 1 Imports Microsoft.VisualBasic 2 Namespace Insus.NET 3 4 Public Class Catalog 5 6 Private _ID As Integer 7 Private _Name As String 8 9 Public Pr... 阅读全文
摘要:
本演示中,我们实现这个Repeater控件数据导出Excel的功能。我们准备一个对象:View Code Imports Microsoft.VisualBasicNamespace Insus.NET Public Class Catalog Private _ID As Integer Private _Name As String Public Property ID As Integer Get Return _ID End Get Set(v... 阅读全文
摘要:
此是一个GridView,DataList or Repeater控件导出Excel文档的DLL。.NET Framework 2.0或以上可应用此类别。支持UTF-8字符集输出。下载地址:http://download.cnblogs.com/insus/library/InsusExportToExcel.rar在ASP.NET使用时,放到BIN目录中,引用命名空间:C#:using Insus.NET;VB.NET:Imports Insus.NET实例化:C#:InsusExportToExcel obj = new InsusExportToExcel();VB.NET:Dim ob 阅读全文