C# 统计 dataGridView行数

统计 dataGridView行数

//dataGridView行数统计
label20.Text = dataGridView2.Rows.Count.ToString();

在这里插入图片描述

你可能感兴趣的:(c#,c#,winform)