日期:2014-05-17 浏览次数:20450 次
for (int i = 0; i < GridView1.Rows.Count; i++)
{
for (int j = 0; j < XArray.Count; j++)
{
if (XArray[j].ToString().Trim() == GridView1.Rows[i].Cells[4].Text.Trim())
{
int temp = (int)Ylist[j] + 1;
Ylist[j] = temp;
fin = false;
}
}
}