/// /// 扩展方法类 /// public static class
CommonExtension { /// /// 数据类型对应转换方法字典 /// static Dictionary> dic_c...
分类:
Web程序 时间:
2014-05-27 02:50:17
阅读次数:
399
// /// 导出到Excel lichenghu /// /// public static
void ToExcel(DataTable dt) { string sb = ""; ...
分类:
其他好文 时间:
2014-05-27 00:44:33
阅读次数:
251
相关函数getRecord :YAHOO.widget.Record getRecord (
row )For the given identifier, returns the associated Record
instance.传入RecordSet position Index或者Recod...
分类:
其他好文 时间:
2014-05-24 06:23:14
阅读次数:
323
Lambda 表达式是一种可用于创建委托或表达式目录树类型的匿名函数。通过使用 lambda
表达式,可以写入可作为参数传递或作为函数调用值返回的本地函数。 Lambda 表达式对于编写 LINQ 查询表达式特别有用。若要创建 Lambda
表达式,需要在 Lambda 运算符 => 左侧指定输入参...
分类:
其他好文 时间:
2014-05-24 05:25:47
阅读次数:
168
详细代码如下: 1 public class CsvParsingHelper 2 { 3 /// 4
/// 将csv文件的数据转成datatable 5 /// 6 /// csv文件路径 7 ...
分类:
其他好文 时间:
2014-05-24 05:03:12
阅读次数:
246
更新datasource中_oData数据var myTable =
Map.realYUIDataTable;var recordsSet = myTable.getRecordSet();var records =
recordsSet.getRecords();for(var i=0; i<r...
分类:
其他好文 时间:
2014-05-24 03:24:45
阅读次数:
323
采用formatterYAHOO.widget.DataTable.Formatter.changeLight=function(elCell,
oRecord, oColumn, oData){ elCell.innerHTML = "";};{key:"ONLINESTATUS", l...
分类:
其他好文 时间:
2014-05-24 02:44:39
阅读次数:
415
/// /// 取两个DataTable的交集,删除重复数据 /// /// 源DataTable
/// 目标DataTable /// 两个表的主键 /// 合并后的表 public stati...
分类:
其他好文 时间:
2014-05-23 22:50:44
阅读次数:
435
using System;using
System.Collections.Generic;using System.IO;using System.Linq;using
System.Reflection;using System.Runtime.InteropServices;namespace...
分类:
其他好文 时间:
2014-05-23 10:59:24
阅读次数:
223
参考资料《大话设计模式》Mediator(中介者)模式:使各个对象不需要显式的相互调用,从而使其耦合松散。using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ds_me...
分类:
其他好文 时间:
2014-05-23 10:13:17
阅读次数:
331