ASP.NET 导出excel 数据量大的问题
asp.net 数据 excel
tbs.Length =2012;
ps.lengt=60;
if (tbs.HasMember())
{
var ps = tbs[0].GetType().GetProperties();
int z = tbs.Length;
int h = ps.Length;
for (int i = 0; i < tbs.Length; i++)
{
for (int j = 0; j < ps.Length; j++)
{
sheet.Cells[9 + i, 1 + j] = ps[j].GetValue(tbs[i], null);
}
}
}
}