using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; 引用 选择DataGridView中的某一行,离开后,若数据变化则更新到
I created a little form with a TabControl on it and a combobox. On the first page i added a DataGridView with 2 columns, not bound to any data (data entered directly). Also, for the grid i added an event handler for CellValidating in which i test if