摘要: 首先看看效果: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... 阅读全文
posted @ 2013-01-16 22:50 Insus.NET 阅读(1022) 评论(0) 推荐(1) 编辑
摘要: 本演示中,我们实现这个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... 阅读全文
posted @ 2013-01-16 01:00 Insus.NET 阅读(3508) 评论(8) 推荐(2) 编辑
摘要: 此是一个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 阅读全文
posted @ 2013-01-16 00:24 Insus.NET 阅读(1933) 评论(3) 推荐(3) 编辑