日期:2014-05-20  浏览次数:20938 次

急急急
string[] row120 = new string[dataGridViewUser.Columns.Count];
  for (int intNum2 = 0; intNum2 < dataGridViewUser.ColumnCount; intNum2++)
  {
  row120[intNum2] = dlRoleList.GetItem(intNum).GetAttr(intNum2);

  }
  row120[2] = strShiftInfo;
  dataGridViewUser.Rows.Add(row120);

怎么看row120的长度 怎样修改

------解决方案--------------------
string[] row120 = new string[dataGridViewUser.Columns.Count];