110,571
社区成员
发帖
与我相关
我的任务
分享
string[] va = new string[this.dataGridView1.Rows.Count];
for (int i = 0; i < this.dataGridView1.Rows.Count;i++ )
va[i] = this.dataGridView1.Rows[i].Cells[5].Value.ToString();
List<string>] va = new List<string>();
for (int i = 0; i < this.dataGridView1.Rows.Count;i++ )
va.Add(this.dataGridView1.Rows[i].Cells[5].Value.ToString());