DataTable dt = new DataTable();
private void fpSpread1_Change(object sender, FarPoint.Win.Spread.ChangeEventArgs e)
{
// EndEditメソッドの明示的な呼出し
dt.Rows[e.Row].EndEdit();
}
private void button1_Click(object sender, EventArgs e)
{
fpSpread1.ActiveSheet.SetValue(0, 1, "abc");
// EndEditメソッドの明示的な呼出し
dt.Rows[0].EndEdit();
}
Dim dt As New DataTable
Private Sub FpSpread1_Change(ByVal sender As System.Object, ByVal e As FarPoint.Win.Spread.ChangeEventArgs) Handles FpSpread1.Change
' EndEditメソッドの明示的な呼出し
dt.Rows(e.Row).EndEdit()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
FpSpread1.ActiveSheet.SetValue(0, 1, "abc")
' EndEditメソッドの明示的な呼出し
dt.Rows(0).EndEdit()
End Sub