111,119
社区成员
发帖
与我相关
我的任务
分享
private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (e.ColumnIndex == 1)//改成你的列索引
{
e.CellStyle.Format = "0.####";
}
}