FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : AddRows メソッド |
DialogResult dlg; fpSpread1.ActiveSheet.Rows.Count = 4; dlg = MessageBox.Show("Do you want to add some rows?", "AddRows", MessageBoxButtons.YesNo); if (dlg == DialogResult.Yes) { fpSpread1.ActiveSheet.AddRows(0, 2); }
Dim dlg As DialogResult FpSpread1.ActiveSheet.Rows.Count = 4 dlg = MessageBox.Show("Do you want to add some rows?", "AddRows", MessageBoxButtons.YesNo) If dlg = DialogResult.Yes Then FpSpread1.ActiveSheet.AddRows(0, 2) End If