1
private void tblPointsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
    this.Validate();
    this.tblPointsBindingSource.EndEdit();
    this.tableAdapterManager.UpdateAll(this._9thXIPointsDataSet1);

    int test = 0;
    test += Convert.ToInt32(pointsTextBox.Text);
    label1.Text = test.ToString();
}

现在是我的代码,但它只显示 1 行的值,但我希望它显示每一行并为添加的每个新行加起来

4

0 回答 0