如何在WinForm应用程序中更改DataGridView单元格中的日期格式?该单元格的源格式为"YYYY-MM-DD“,我想将其更改为"DD/MM/YYYY”。我如何才能做到这一点呢?
发布于 2012-07-11 09:32:45
通过更改默认单元格样式。
this.DataGridView1.Columns[0].DefaultCellStyle.Format = "dd/MM/yyyy"http://msdn.microsoft.com/en-us/library/f9x2790s.aspx
https://stackoverflow.com/questions/11424297
复制相似问题