效果图:
方法代码:
public DataTable RowsToCol(DataTable DT)
{
try
{
int rowCount = DT.Rows.Count;
int columnsCount = DT.Columns.Count;
DataTable COLSDT = new DataTable();
for (int i = 0; i < rowCount; i++)
&nb