if (comboBox2.Text == Convert .ToString ("ChiXiang_left"))
{
List<double> m_A_ChiXiangCeLiangZhi_XL_L = new List<double>();
//double[,] m_A_ChiXiangCeLiangZhi_XL_L = new double[N, M];
for (int j = 1; j < dataGridView1.ColumnCount; j++)
{
for (int i = 0; i < dataGridView1.Rows.Count - 1; i++)//循环dataGridView1的行
{
m_A_ChiXiangCeLiangZhi_XL_L.AddRange(Convert .ToDouble (dataGridView1.Rows[i].Cells[j].Value));//将dataGridView1中的第一列存入s1中
GlobalVariable.m_A_ChiXiangCeLiangZhi_XL_L = m_A_ChiXiangCeLiangZhi_XL_L;
}
}
}
错误 CS1502: 与“System.Collections.Generic.List.AddRange(System.Collections.Generic.IEnumerable)”最匹配的重载方法具有一些无效参数