I've tryed using syntax below:
Convert.IsDBNul l(xSheet.Cells[i, 2])
and
Excel.Range ran = (Excel.Range)xS heet.Cells[i, 2];
if (ran.Value2 == null)
All the trys end up with an exception msg:"HRESULT:0x 800A03EC".
dont know why.
Convert.IsDBNul l(xSheet.Cells[i, 2])
and
Excel.Range ran = (Excel.Range)xS heet.Cells[i, 2];
if (ran.Value2 == null)
All the trys end up with an exception msg:"HRESULT:0x 800A03EC".
dont know why.
Comment