标签: c# .net
foreach (string rowArray in rows) { dataGridView1.Rows.Add(rowArray); }
在编译以上代码时,出现错误:
无法将类型为“ System.Int32”的对象转换为类型为“ System.String”