在gridview中启用了添加、编辑,然后设置了this.dataGridView1.Columns[1].DefaultCellStyle.Format = "c",在窗体中输入数据为什么不显示样式。