C# Table转换List 或List转换Table
public static class TableListHelper { /// summary /// 转化一个DataTable /// /summary /// typeparam name=T/typeparam /// param name=list/param /// returns/returns public static DataTable ToDataTable...
C#对象序列化失败解决方法
C#序列化非常方便。只需定义类型即可。但是有时也会遇到奇葩问题。你是否遇到下面这样的问题这种问题困扰了我很久。最后终于解决了。方法真的想不到!废话少说。看看如何解决?上代码:usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Runtime...
C# vs2010winform中ListView的使用
使用ListView模仿Windows系统的资源管理器界面,实现文件(夹)的浏览、重命名、删除及查询等功能,主要功能界面展示如下:usingSystem;
usingSystem.Collections.Generic;
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Drawing;
usingSy...