public DataTable[] sampletable (DataTable table1,DataTable table2)
{
return new DataTable[] { table1, table2 };
}
Use an array.
(使用数组。)
And to retrieve a particular table: (并检索特定表:)
DataTable[] dtArray = sampletable (YourFirstDt, YourSecondDt);
DataTable table1 = dtArray[0];
DataTable table2 = dtArray[1];
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…