dataGridView1.Columns["DATERECEIVED"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
private void dataGridView1_DataError(object sender, DataGridViewDataErrorEventArgs anError) { if (anError.Exception != null && anError.Context == DataGridViewDataErrorContexts.Commit) { MessageBox.Show("Error : " + anError.Context.ToString()); anError.Cancel = true; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)