动态绑定 datagridview

//绑定该邮箱到datagridview
                int index = this.dataGridViewSendEmail.Rows.Add();
                DataGridViewRow row = this.dataGridViewSendEmail.Rows[index];
                row.Cells[1].Value = emailAddr;
                row.Cells[2].Value = "正常";
                row.Cells[3].Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
原文地址:https://www.cnblogs.com/maijin/p/2815011.html