回复 5楼dof的帖子
/// <summary>
/// 添加行
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAddSpRow_Click(object sender, EventArgs e)
{
int maxCount=this.FpSpread1.Sheets[0].RowCount;
this.FpSpread1.Sheets[0].AddRows(maxCount,1);
} |