private void dataGridView1_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) { ////--This section helps in validation.. //not required now. }