日期:2014-05-17 浏览次数:21087 次
public class Operat1
{
DataTable dataInfo = null;
public Operat1()
{
InitDataTable();
}
private void InitDataTable()
{
//构建dataInfo 结构(列)
}
public void Dosm(List<A> list,string name)
{
//构建dataInfo 数据
}
}
public class Operat2
{
DataTable dataInfo = null;
public Operat2()
{
InitDataTable();
}
private void InitDataTable()
{
//构建dataInfo 结构(列)
}
public void Dosm(List<B> list,string name)
{
//构建dataInfo 数据
}
}
public class Operat<T>
{
DataTable dataInfo = null;
public Operat2()
{
InitDataTable();
}
private void InitDataTable()
{
//构建dataInfo 结构(列)
}
public void Dosm(List<T> list,string name)
{
//构建dataInfo 数据
}
}