如何利用DataTable.select方法取出两列数据,两列名为“PPI”和“TEM”,将取出的数据放入新的DataTable中 40
DataTablenewDataTable=newDataTable();newDataTable=oldDataTable.Clone();DataRow[]found...
DataTable newDataTable = new DataTable();
newDataTable = oldDataTable.Clone();
DataRow[] foundRows = oldDataTable.select("该处表达式怎么写");
for (int i = 0; i < foundRows.Length; i++)
{
newDataTable .ImportRow((DataRow)foundRows[i]);
} 展开
newDataTable = oldDataTable.Clone();
DataRow[] foundRows = oldDataTable.select("该处表达式怎么写");
for (int i = 0; i < foundRows.Length; i++)
{
newDataTable .ImportRow((DataRow)foundRows[i]);
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询