日期:2014-05-17 浏览次数:20832 次
string ls="";
if (dataGridView1.Rows.Count > 0)
for (int i = 0; i < dataGridView1.Rows.Count; i++)
{
ls += dataGridView1.Rows[i].Cells["A"].Value.ToString().Trim();
}
string ls="";
if (dataGridView1.Rows.Count > 0)
for (int i = 0; i < dataGridView1.Rows.Count -1; i++)
{
ls += dataGridView1.Rows[i].Cells["A"].Value.ToString().Trim();
}