C# Winform DataGridView添加數據
private void btnAddData_Click(object sender, EventArgs e)
{
int i = this.BatchManagement.Rows.Add();
this.BatchManagement.Rows[i].Cells[0].Value = i+1;
this.BatchManagement.Rows[i].Cells[1].Value = "number" + " " + i+1;
this.BatchManagement.Rows[i].Cells[2].Value = "10086" + " " + i+1;
}