M
Mendel Lim
Guest
for (iRow = 10; iRow <= xlWorkSheet.Rows.Count; iRow++)
{
if (xlWorkSheet.Cells[iRow, 10].value == null)
{
break;
}
else
{
string[] row = new string[] { xlWorkSheet.Cells[iRow, 10].value,
xlWorkSheet.Cells[iRow, 11].value.ToString(),
xlWorkSheet.Cells[iRow, 12].value };
dataGridView1.Rows.Add(row);
}
}
Any idea how to fix?
Continue reading...
{
if (xlWorkSheet.Cells[iRow, 10].value == null)
{
break;
}
else
{
string[] row = new string[] { xlWorkSheet.Cells[iRow, 10].value,
xlWorkSheet.Cells[iRow, 11].value.ToString(),
xlWorkSheet.Cells[iRow, 12].value };
dataGridView1.Rows.Add(row);
}
}
Any idea how to fix?
Continue reading...