在DataGridView的CellFormatting事件里写代码{ { if (e.ColumnIndex == 0) //你需要赋值时间的列 { e.Value = DateTime.Now; } }}有疑问请追问,确认满意请采纳。