日期:2014-05-17 浏览次数:20518 次
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);
}
}
}
}