文档(和智能感知)非常清楚地说明了DataTable
实现IListSource
. 但是为什么没有方法,它是接口的(主要)DataTable
部分?getList()
IListView
问问题
1487 次
1 回答
6
DataTable
使用显式接口实现来实现IListSource
。
您仍然可以通过以下方式使用该方法:
IListSource listSource = (IListSource)dataTable;
IList list = listSource.GetList();
于 2011-07-05T20:05:55.130 回答